The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-aria2, reference 0.0.1 (eb07c0), with Swift 6.1 for Linux on 26 Dec 2025 17:29:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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

Build 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.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-3":/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
[681/33692] Fetching swift-argument-parser, noora
Fetched https://github.com/apple/swift-argument-parser.git from cache (6.63s)
Fetched https://github.com/tuist/Noora from cache (6.77s)
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.52s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.53.0 (0.66s)
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-log
[1/381] Fetching path
[215/1793] Fetching path, rainbow
[1794/7552] Fetching path, rainbow, swift-log
Fetched https://github.com/onevcat/Rainbow from cache (0.42s)
Fetched https://github.com/tuist/path from cache (0.42s)
Fetched https://github.com/apple/swift-log from cache (0.43s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (2.87s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.8.0 (0.55s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (2.80s)
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
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/28] Compiling CxxAria2 handle.cpp
[14/54] Compiling Path Path.swift
[15/54] Emitting module Path
[16/55] Compiling Rainbow StringGenerator.swift
[17/55] Compiling Rainbow Style.swift
[18/56] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/56] Emitting module ArgumentParserToolInfo
[20/57] Compiling Rainbow String+ConditionalStyling.swift
[21/57] Compiling Rainbow String+Rainbow.swift
[23/57] Wrapping AST for Path for debugging
[24/57] Wrapping AST for ArgumentParserToolInfo for debugging
[26/103] Emitting module Logging
[27/103] Compiling Logging Locks.swift
[28/103] Compiling Logging LogHandler.swift
[29/103] Compiling Logging MetadataProvider.swift
[30/103] Compiling Logging Logging.swift
[31/104] Wrapping AST for Logging for debugging
[33/104] Compiling ArgumentParser OptionGroup.swift
[34/104] Compiling ArgumentParser ParentCommand.swift
[35/104] Compiling ArgumentParser Errors.swift
[36/104] Compiling ArgumentParser Flag.swift
[37/104] Compiling ArgumentParser AsyncParsableCommand.swift
[38/104] Compiling ArgumentParser CommandConfiguration.swift
[39/104] Compiling Rainbow StyledStringBuilder.swift
[40/104] Compiling ArgumentParser NameSpecification.swift
[41/104] Compiling ArgumentParser Option.swift
[42/104] Emitting module Rainbow
[43/104] Compiling ArgumentParser ArgumentVisibility.swift
[44/104] Compiling ArgumentParser CompletionKind.swift
[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] Emitting module Noora
[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
[58/149] Compiling Noora LengthValidationRule.swift
[59/149] Compiling Noora NonEmptyValidationRule.swift
[60/149] Compiling Noora RegexValidationRule.swift
[61/149] Compiling Noora Validator.swift
[62/149] Compiling ArgumentParser StringExtensions.swift
[63/149] Compiling ArgumentParser SwiftExtensions.swift
[64/155] Compiling Noora NooraError.swift
[65/155] Compiling Noora NooraMock.swift
[66/155] Compiling Noora StandardPipelineType.swift
[67/155] Compiling Noora Theme.swift
[68/155] Compiling Noora KeyStrokeListener.swift
[69/155] Compiling Noora CollapsibleStep.swift
[70/155] Compiling Noora MultipleChoicePrompt.swift
[71/155] Compiling Noora ProgressBarStep.swift
[72/155] Compiling Noora ProgressStep.swift
[73/155] Compiling Noora SingleChoicePrompt.swift
[74/155] Compiling Noora TableStyle.swift
[75/155] Compiling Noora UpdatingSelectableTable.swift
[76/155] Compiling Noora InputValidating.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 Noora PaginatedTable.swift
[87/155] Compiling Noora SelectableTable.swift
[88/155] Compiling Noora Table.swift
[89/155] Compiling Noora TableColumn.swift
[90/155] Compiling Noora TableData.swift
[91/155] Compiling Noora TableRenderer.swift
[94/155] Compiling Noora UpdatingTable.swift
[95/155] Compiling Noora TextPrompt.swift
[96/155] Compiling Noora YesOrNoChoicePrompt.swift
[97/155] Compiling Noora Content.swift
[98/155] Compiling ArgumentParser Tree.swift
[99/155] Compiling ArgumentParser CodingKeyValidator.swift
[100/155] Compiling ArgumentParser NonsenseFlagsValidator.swift
[101/155] Compiling ArgumentParser ParsableArgumentsValidation.swift
[102/155] Compiling ArgumentParser PositionalArgumentsValidator.swift
[103/155] Compiling ArgumentParser UniqueNamesValidator.swift
[122/155] Compiling Noora Alert.swift
[130/156] Emitting module ArgumentParser
[143/157] Wrapping AST for Noora for debugging
[144/157] Write Objects.LinkFileList
[145/157] 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] 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-3":/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] Emitting module Path
[5/43] Compiling Logging MetadataProvider.swift
[6/43] Compiling Rainbow OutputTarget.swift
[7/43] Compiling Rainbow Rainbow.swift
[8/44] Emitting module Rainbow
[9/44] Compiling Rainbow StringGenerator.swift
[10/44] Compiling Rainbow Style.swift
[11/44] Emitting module Logging
[12/44] Compiling Logging Locks.swift
[13/44] Compiling Rainbow HSLColorConverter.swift
[14/44] Compiling Rainbow ModesExtractor.swift
[15/44] Compiling Rainbow ConditionalStyleBuilder.swift
[16/44] Compiling Rainbow ControlCode.swift
[17/44] Compiling Rainbow StyledStringBuilder.swift
[18/44] Compiling Rainbow BackgroundColor.swift
[19/44] Compiling Rainbow CodesParser.swift
[20/44] Compiling Rainbow Color.swift
[21/44] Compiling Rainbow ColorApproximation.swift
[22/44] Compiling Path Path.swift
[23/44] Compiling Logging LogHandler.swift
[24/44] Compiling Logging Logging.swift
[25/45] Compiling Rainbow String+ConditionalStyling.swift
[26/45] Compiling Rainbow String+Rainbow.swift
[30/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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/45] Compiling SwiftAria2 aria.swift
[32/45] 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
[33/45] 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
[34/84] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 linux