Build Information
Failed to build swift-aria2, reference main (e1ea84), with Swift 6.1 for Linux on 26 Dec 2025 17:29:40 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.1-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.1
Building package at path: $PWD
https://github.com/McNight/Swift-Aria2.git
https://github.com/McNight/Swift-Aria2.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "noora",
"requirement" : {
"range" : [
{
"lower_bound" : "0.15.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/Noora"
}
],
"manifest_display_name" : "swift-aria2",
"name" : "swift-aria2",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwiftAria2",
"targets" : [
"SwiftAria2"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "URLSessionBindings",
"targets" : [
"URLSessionBindings"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "cli",
"targets" : [
"cli"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "cli",
"module_type" : "SwiftTarget",
"name" : "cli",
"path" : "Sources/cli",
"product_dependencies" : [
"ArgumentParser",
"Noora"
],
"product_memberships" : [
"cli"
],
"sources" : [
"cli.swift",
"download.swift"
],
"target_dependencies" : [
"SwiftAria2"
],
"type" : "executable"
},
{
"c99name" : "aria2",
"module_type" : "BinaryTarget",
"name" : "aria2",
"path" : "Frameworks/aria2.xcframework",
"product_memberships" : [
"SwiftAria2",
"URLSessionBindings",
"cli"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "URLSessionBindingsLoader",
"module_type" : "ClangTarget",
"name" : "URLSessionBindingsLoader",
"path" : "Sources/URLSessionBindingsLoader",
"product_memberships" : [
"URLSessionBindings"
],
"sources" : [
"AriaSwizzlingLoader.m"
],
"target_dependencies" : [
"SwiftAria2"
],
"type" : "library"
},
{
"c99name" : "URLSessionBindings",
"module_type" : "SwiftTarget",
"name" : "URLSessionBindings",
"path" : "Sources/URLSessionBindings",
"product_memberships" : [
"URLSessionBindings"
],
"sources" : [
"Aria+Conversions.swift",
"NSObject+Swizzling.swift",
"URLSession+Bindings.swift",
"URLSessionTask+Bindings.swift"
],
"target_dependencies" : [
"SwiftAria2",
"URLSessionBindingsLoader"
],
"type" : "library"
},
{
"c99name" : "SwiftAria2Tests",
"module_type" : "SwiftTarget",
"name" : "SwiftAria2Tests",
"path" : "Tests/SwiftAria2Tests",
"sources" : [
"SwiftAria2Tests.swift"
],
"target_dependencies" : [
"URLSessionBindings"
],
"type" : "test"
},
{
"c99name" : "SwiftAria2",
"module_type" : "SwiftTarget",
"name" : "SwiftAria2",
"path" : "Sources/SwiftAria2",
"product_memberships" : [
"SwiftAria2",
"URLSessionBindings",
"cli"
],
"sources" : [
"aria.swift",
"handle.swift",
"session.swift"
],
"target_dependencies" : [
"CxxAria2"
],
"type" : "library"
},
{
"c99name" : "CxxAria2",
"module_type" : "ClangTarget",
"name" : "CxxAria2",
"path" : "Sources/CxxAria2",
"product_memberships" : [
"SwiftAria2",
"URLSessionBindings",
"cli"
],
"sources" : [
"handle.cpp"
],
"target_dependencies" : [
"aria2"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
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.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7a52ddccc7ba366c24bb516637054305dd0c5fa0b57dff9877b95decd3e21586
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/tuist/Noora
Fetching https://github.com/apple/swift-argument-parser.git
[1/16987] Fetching swift-argument-parser
[2/33692] Fetching swift-argument-parser, noora
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.05s)
[5873/16705] Fetching noora
Fetched https://github.com/tuist/Noora from cache (6.73s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (7.48s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.53.0 (0.54s)
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-log
[1/381] Fetching path
[382/1793] Fetching path, rainbow
[1795/7552] Fetching path, rainbow, swift-log
Fetched https://github.com/onevcat/Rainbow from cache (0.34s)
Fetched https://github.com/tuist/path from cache (0.47s)
Fetched https://github.com/apple/swift-log from cache (0.47s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (2.92s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.8.0 (0.54s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (2.59s)
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
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/26] Write sources
[11/26] Write swift-version-24593BA9C3E375BF.txt
[11/26] Compiling CxxAria2 handle.cpp
[14/54] Compiling Rainbow StringGenerator.swift
[15/54] Compiling Rainbow Style.swift
[16/55] Emitting module Path
[17/55] Compiling Path Path.swift
[18/56] Emitting module ArgumentParserToolInfo
[19/56] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/56] Emitting module Rainbow
[21/56] Compiling Rainbow BackgroundColor.swift
[22/56] Compiling Rainbow CodesParser.swift
[24/57] Compiling Rainbow String+ConditionalStyling.swift
[25/57] Compiling Rainbow String+Rainbow.swift
[26/57] Wrapping AST for Path for debugging
[27/57] Wrapping AST for ArgumentParserToolInfo for debugging
[29/103] Compiling Logging MetadataProvider.swift
[30/103] Compiling Logging LogHandler.swift
[31/103] Compiling Logging Locks.swift
[32/103] Emitting module Logging
[33/103] Compiling Logging Logging.swift
[35/104] Compiling ArgumentParser CompletionKind.swift
[36/104] Compiling ArgumentParser Errors.swift
[37/104] Compiling Rainbow StyledStringBuilder.swift
[38/104] Compiling ArgumentParser FishCompletionsGenerator.swift
[39/104] Compiling ArgumentParser ZshCompletionsGenerator.swift
[40/104] Compiling ArgumentParser ArgumentHelp.swift
[41/104] Compiling ArgumentParser ArgumentVisibility.swift
[42/104] Compiling ArgumentParser Argument.swift
[43/104] Compiling ArgumentParser ArgumentDiscussion.swift
[43/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/144] Compiling Noora LockIsolated.swift
[53/144] Compiling Noora Renderer.swift
[54/144] Compiling Noora Spinner.swift
[55/144] Compiling Noora StandardPipelines.swift
[56/144] Compiling Noora Terminal.swift
[57/149] Compiling Noora NooraError.swift
[58/149] Compiling Noora NooraMock.swift
[59/149] Compiling Noora StandardPipelineType.swift
[60/149] Compiling Noora Theme.swift
[61/149] Compiling Noora KeyStrokeListener.swift
[62/149] Compiling Noora InputValidating.swift
[63/149] Compiling Noora LengthValidationRule.swift
[64/149] Compiling Noora NonEmptyValidationRule.swift
[65/149] Compiling Noora RegexValidationRule.swift
[66/149] Compiling Noora Validator.swift
[71/149] Compiling ArgumentParser StringExtensions.swift
[72/149] Compiling ArgumentParser SwiftExtensions.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
[78/155] Compiling Noora PaginatedTable.swift
[79/155] Compiling Noora SelectableTable.swift
[80/155] Compiling Noora Table.swift
[81/155] Compiling Noora TableColumn.swift
[82/155] Compiling Noora TableData.swift
[83/155] Compiling Noora TableRenderer.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
[102/155] Compiling Noora CollapsibleStep.swift
[103/155] Compiling Noora MultipleChoicePrompt.swift
[104/155] Compiling Noora ProgressBarStep.swift
[105/155] Compiling Noora ProgressStep.swift
[106/155] Compiling Noora SingleChoicePrompt.swift
[109/155] Compiling ArgumentParser Tree.swift
[110/155] Compiling ArgumentParser CodingKeyValidator.swift
[111/155] Compiling ArgumentParser NonsenseFlagsValidator.swift
[112/155] Compiling ArgumentParser ParsableArgumentsValidation.swift
[113/155] Compiling ArgumentParser PositionalArgumentsValidator.swift
[114/155] Compiling ArgumentParser UniqueNamesValidator.swift
[115/155] Emitting module ArgumentParser
[122/155] Compiling Noora Alert.swift
[136/155] Emitting module Noora
[144/157] Wrapping AST for Noora for debugging
[145/157] Write Objects.LinkFileList
[146/157] Wrapping AST for ArgumentParser for debugging
[147/157] Archiving libNoora.a
error: emit-module command failed with exit code 1 (use -v to see invocation)
[149/157] 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
[150/157] 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 '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
[151/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 '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
/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/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, 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 |
<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
<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
<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, 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 | }
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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7a52ddccc7ba366c24bb516637054305dd0c5fa0b57dff9877b95decd3e21586
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/15] Write swift-version-24593BA9C3E375BF.txt
[4/43] Compiling Logging MetadataProvider.swift
[5/43] Compiling Rainbow StringGenerator.swift
[6/43] Compiling Rainbow Style.swift
[7/44] Emitting module Rainbow
[8/44] Compiling Rainbow ConditionalStyleBuilder.swift
[9/44] Compiling Rainbow ControlCode.swift
[10/44] Compiling Rainbow StyledStringBuilder.swift
[11/44] Compiling Rainbow BackgroundColor.swift
[12/44] Compiling Rainbow CodesParser.swift
[13/44] Compiling Rainbow Color.swift
[14/44] Compiling Rainbow ColorApproximation.swift
[15/44] Compiling Rainbow HSLColorConverter.swift
[16/44] Compiling Rainbow ModesExtractor.swift
[17/44] Compiling Rainbow String+ConditionalStyling.swift
[18/44] Compiling Rainbow String+Rainbow.swift
[19/44] Compiling Rainbow OutputTarget.swift
[20/44] Compiling Rainbow Rainbow.swift
[22/45] Emitting module Path
[23/45] Compiling Path Path.swift
[25/45] Emitting module ArgumentParserToolInfo
[26/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[27/46] Compiling SwiftAria2 handle.swift
<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
[29/45] 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, 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 | }
[30/45] Compiling SwiftAria2 aria.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/44] 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
[32/44] Compiling Logging LogHandler.swift
[33/44] Compiling Logging Locks.swift
[34/44] Compiling Logging Logging.swift
[35/44] Emitting module Logging
BUILD FAILURE 6.1 linux