The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPackageAudit, reference v1.1.0 (65a11a), with Swift 6.1 for Android on 16 Jul 2026 07:47:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crleonard/swift-package-audit.git
Reference: v1.1.0
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/crleonard/swift-package-audit
 * tag               v1.1.0     -> FETCH_HEAD
HEAD is now at 65a11a9 Document license check configuration
Cloned https://github.com/crleonard/swift-package-audit.git
Revision (git rev-parse @):
65a11a9a9e2daaa054e3051c4d31ee4fa72f42c3
SUCCESS checkout https://github.com/crleonard/swift-package-audit.git at v1.1.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/crleonard/swift-package-audit.git
https://github.com/crleonard/swift-package-audit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
[1/18024] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.67s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.91s)
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.8.2
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/13] Write sources
[6/13] Write swift-version-24593BA9C3E375BF.txt
[8/38] Emitting module ArgumentParserToolInfo
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/38] Compiling ArgumentParserToolInfo ToolInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/39] Wrapping AST for ArgumentParserToolInfo for debugging
[12/86] Emitting module ArgumentParser
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/92] Compiling ArgumentParser Name.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/92] Compiling ArgumentParser Parsed.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/92] Compiling ArgumentParser ParsedValues.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/92] Compiling ArgumentParser ParserError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/92] Compiling ArgumentParser SplitArguments.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/92] Compiling ArgumentParser DumpHelpGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/92] Compiling ArgumentParser HelpCommand.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/92] Compiling ArgumentParser HelpGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/92] Compiling ArgumentParser MessageInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/92] Compiling ArgumentParser UsageGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[23/92] Compiling ArgumentParser CollectionExtensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/92] Compiling ArgumentParser Foundation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/92] Compiling ArgumentParser AsyncCompletionsValidator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[26/92] Compiling ArgumentParser CodingKeyValidator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[27/92] Compiling ArgumentParser NonsenseFlagsValidator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/92] Compiling ArgumentParser ParsableArgumentsValidation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/92] Compiling ArgumentParser PositionalArgumentsValidator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[30/92] Compiling ArgumentParser UniqueNamesValidator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[31/92] Compiling ArgumentParser Mutex.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[32/92] Compiling ArgumentParser Platform.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/92] Compiling ArgumentParser SequenceExtensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/92] Compiling ArgumentParser StringExtensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[35/92] Compiling ArgumentParser SwiftExtensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[36/92] Compiling ArgumentParser Tree.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[37/92] Compiling ArgumentParser ParsableArguments.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[38/92] Compiling ArgumentParser ArgumentVisibility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/92] Compiling ArgumentParser CompletionKind.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/95] Compiling ArgumentParser Option.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[41/95] Compiling ArgumentParser OptionGroup.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[43/95] Compiling ArgumentParser CommandGroup.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[44/95] Compiling ArgumentParser EnumerableFlag.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[45/95] Compiling ArgumentParser ExpressibleByArgument.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[46/95] Compiling ArgumentParser BashCompletionsGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/95] Compiling ArgumentParser CompletionsGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/95] Compiling ArgumentParser FishCompletionsGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/95] Compiling ArgumentParser ParentCommand.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[50/95] Compiling ArgumentParser AsyncParsableCommand.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/95] Compiling ArgumentParser CommandConfiguration.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/95] Compiling ArgumentParser Errors.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/95] Compiling ArgumentParser Flag.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/95] Compiling ArgumentParser NameSpecification.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[55/95] Emitting module SwiftPackageAuditCore
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:170:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private final class URLSessionResultBox: @unchecked Sendable {
169 |     private let lock = NSLock()
170 |     private var result: Result<(Data, URLResponse?), Error>?
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:172:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |     private var result: Result<(Data, URLResponse?), Error>?
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
    |                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 |         lock.lock()
174 |         self.result = result
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:178:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
176 |     }
177 |
178 |     func load() -> Result<(Data, URLResponse?), Error>? {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |         lock.lock()
180 |         defer { lock.unlock() }
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
[56/95] Compiling ArgumentParser ZshCompletionsGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:170:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private final class URLSessionResultBox: @unchecked Sendable {
169 |     private let lock = NSLock()
170 |     private var result: Result<(Data, URLResponse?), Error>?
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:172:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |     private var result: Result<(Data, URLResponse?), Error>?
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
    |                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 |         lock.lock()
174 |         self.result = result
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:178:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
176 |     }
177 |
178 |     func load() -> Result<(Data, URLResponse?), Error>? {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |         lock.lock()
180 |         defer { lock.unlock() }
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:72:23: error: cannot find 'URLRequest' in scope
 70 |
 71 |     private func fetch(url: URL) throws -> Data {
 72 |         var request = URLRequest(url: url, timeoutInterval: timeoutSeconds)
    |                       `- error: cannot find 'URLRequest' in scope
 73 |         request.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")
 74 |         request.setValue("swift-package-audit", forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:78:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         let box = URLSessionResultBox()
 77 |         let semaphore = DispatchSemaphore(value: 0)
 78 |         URLSession.shared.dataTask(with: request) { data, response, error in
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |             if let error {
 80 |                 box.store(.failure(error))
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:82:53: error: value of type '_' expected to be instance of class or class-constrained type
 80 |                 box.store(.failure(error))
 81 |             } else {
 82 |                 box.store(.success((data ?? Data(), response)))
    |                                                     `- error: value of type '_' expected to be instance of class or class-constrained type
 83 |             }
 84 |             semaphore.signal()
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                        `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:93:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
 95 |         }
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:94:61: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
    |                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 95 |         }
 96 |         return data
[57/95] Compiling ArgumentParser Argument.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:170:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private final class URLSessionResultBox: @unchecked Sendable {
169 |     private let lock = NSLock()
170 |     private var result: Result<(Data, URLResponse?), Error>?
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:172:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |     private var result: Result<(Data, URLResponse?), Error>?
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
    |                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 |         lock.lock()
174 |         self.result = result
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:178:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
176 |     }
177 |
178 |     func load() -> Result<(Data, URLResponse?), Error>? {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |         lock.lock()
180 |         defer { lock.unlock() }
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:72:23: error: cannot find 'URLRequest' in scope
 70 |
 71 |     private func fetch(url: URL) throws -> Data {
 72 |         var request = URLRequest(url: url, timeoutInterval: timeoutSeconds)
    |                       `- error: cannot find 'URLRequest' in scope
 73 |         request.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")
 74 |         request.setValue("swift-package-audit", forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:78:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         let box = URLSessionResultBox()
 77 |         let semaphore = DispatchSemaphore(value: 0)
 78 |         URLSession.shared.dataTask(with: request) { data, response, error in
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |             if let error {
 80 |                 box.store(.failure(error))
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:82:53: error: value of type '_' expected to be instance of class or class-constrained type
 80 |                 box.store(.failure(error))
 81 |             } else {
 82 |                 box.store(.success((data ?? Data(), response)))
    |                                                     `- error: value of type '_' expected to be instance of class or class-constrained type
 83 |             }
 84 |             semaphore.signal()
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                        `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:93:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
 95 |         }
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:94:61: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
    |                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 95 |         }
 96 |         return data
[58/95] Compiling ArgumentParser ArgumentDiscussion.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:170:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private final class URLSessionResultBox: @unchecked Sendable {
169 |     private let lock = NSLock()
170 |     private var result: Result<(Data, URLResponse?), Error>?
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:172:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |     private var result: Result<(Data, URLResponse?), Error>?
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
    |                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 |         lock.lock()
174 |         self.result = result
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:178:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
176 |     }
177 |
178 |     func load() -> Result<(Data, URLResponse?), Error>? {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |         lock.lock()
180 |         defer { lock.unlock() }
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:72:23: error: cannot find 'URLRequest' in scope
 70 |
 71 |     private func fetch(url: URL) throws -> Data {
 72 |         var request = URLRequest(url: url, timeoutInterval: timeoutSeconds)
    |                       `- error: cannot find 'URLRequest' in scope
 73 |         request.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")
 74 |         request.setValue("swift-package-audit", forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:78:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         let box = URLSessionResultBox()
 77 |         let semaphore = DispatchSemaphore(value: 0)
 78 |         URLSession.shared.dataTask(with: request) { data, response, error in
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |             if let error {
 80 |                 box.store(.failure(error))
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:82:53: error: value of type '_' expected to be instance of class or class-constrained type
 80 |                 box.store(.failure(error))
 81 |             } else {
 82 |                 box.store(.success((data ?? Data(), response)))
    |                                                     `- error: value of type '_' expected to be instance of class or class-constrained type
 83 |             }
 84 |             semaphore.signal()
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                        `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:93:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
 95 |         }
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:94:61: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
    |                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 95 |         }
 96 |         return data
[59/95] Compiling ArgumentParser ArgumentHelp.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:170:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private final class URLSessionResultBox: @unchecked Sendable {
169 |     private let lock = NSLock()
170 |     private var result: Result<(Data, URLResponse?), Error>?
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:172:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |     private var result: Result<(Data, URLResponse?), Error>?
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
    |                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 |         lock.lock()
174 |         self.result = result
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:178:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
176 |     }
177 |
178 |     func load() -> Result<(Data, URLResponse?), Error>? {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |         lock.lock()
180 |         defer { lock.unlock() }
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:72:23: error: cannot find 'URLRequest' in scope
 70 |
 71 |     private func fetch(url: URL) throws -> Data {
 72 |         var request = URLRequest(url: url, timeoutInterval: timeoutSeconds)
    |                       `- error: cannot find 'URLRequest' in scope
 73 |         request.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")
 74 |         request.setValue("swift-package-audit", forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:78:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         let box = URLSessionResultBox()
 77 |         let semaphore = DispatchSemaphore(value: 0)
 78 |         URLSession.shared.dataTask(with: request) { data, response, error in
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |             if let error {
 80 |                 box.store(.failure(error))
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:82:53: error: value of type '_' expected to be instance of class or class-constrained type
 80 |                 box.store(.failure(error))
 81 |             } else {
 82 |                 box.store(.success((data ?? Data(), response)))
    |                                                     `- error: value of type '_' expected to be instance of class or class-constrained type
 83 |             }
 84 |             semaphore.signal()
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                        `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:93:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
 95 |         }
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:94:61: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
    |                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 95 |         }
 96 |         return data
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[74/95] Compiling ArgumentParser ParsableCommand.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[75/95] Compiling ArgumentParser ArgumentDecoder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[76/95] Compiling ArgumentParser ArgumentDefinition.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[77/95] Compiling ArgumentParser ArgumentSet.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[78/95] Compiling ArgumentParser CommandParser.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[79/95] Compiling ArgumentParser InputKey.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[80/95] Compiling ArgumentParser InputOrigin.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[88/96] Compiling SwiftPackageAuditCore PackageURLNormalizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[89/96] Compiling SwiftPackageAuditCore StableHash.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[90/96] Compiling SwiftPackageAuditCore PackageVersionChecker.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/34] Emitting module SwiftPackageAuditCore
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:170:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private final class URLSessionResultBox: @unchecked Sendable {
169 |     private let lock = NSLock()
170 |     private var result: Result<(Data, URLResponse?), Error>?
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:172:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |     private var result: Result<(Data, URLResponse?), Error>?
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
    |                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 |         lock.lock()
174 |         self.result = result
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:178:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
176 |     }
177 |
178 |     func load() -> Result<(Data, URLResponse?), Error>? {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |         lock.lock()
180 |         defer { lock.unlock() }
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
[5/37] Compiling SwiftPackageAuditCore DiagnosticBaseline.swift
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:170:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private final class URLSessionResultBox: @unchecked Sendable {
169 |     private let lock = NSLock()
170 |     private var result: Result<(Data, URLResponse?), Error>?
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:172:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |     private var result: Result<(Data, URLResponse?), Error>?
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
    |                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 |         lock.lock()
174 |         self.result = result
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:178:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
176 |     }
177 |
178 |     func load() -> Result<(Data, URLResponse?), Error>? {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |         lock.lock()
180 |         defer { lock.unlock() }
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:72:23: error: cannot find 'URLRequest' in scope
 70 |
 71 |     private func fetch(url: URL) throws -> Data {
 72 |         var request = URLRequest(url: url, timeoutInterval: timeoutSeconds)
    |                       `- error: cannot find 'URLRequest' in scope
 73 |         request.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")
 74 |         request.setValue("swift-package-audit", forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:78:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         let box = URLSessionResultBox()
 77 |         let semaphore = DispatchSemaphore(value: 0)
 78 |         URLSession.shared.dataTask(with: request) { data, response, error in
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |             if let error {
 80 |                 box.store(.failure(error))
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:82:53: error: value of type '_' expected to be instance of class or class-constrained type
 80 |                 box.store(.failure(error))
 81 |             } else {
 82 |                 box.store(.success((data ?? Data(), response)))
    |                                                     `- error: value of type '_' expected to be instance of class or class-constrained type
 83 |             }
 84 |             semaphore.signal()
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                        `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:93:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
 95 |         }
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:94:61: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
    |                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 95 |         }
 96 |         return data
[6/37] Compiling SwiftPackageAuditCore SwiftPackageAuditConfig.swift
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:170:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private final class URLSessionResultBox: @unchecked Sendable {
169 |     private let lock = NSLock()
170 |     private var result: Result<(Data, URLResponse?), Error>?
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:172:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |     private var result: Result<(Data, URLResponse?), Error>?
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
    |                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 |         lock.lock()
174 |         self.result = result
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:178:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
176 |     }
177 |
178 |     func load() -> Result<(Data, URLResponse?), Error>? {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |         lock.lock()
180 |         defer { lock.unlock() }
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:72:23: error: cannot find 'URLRequest' in scope
 70 |
 71 |     private func fetch(url: URL) throws -> Data {
 72 |         var request = URLRequest(url: url, timeoutInterval: timeoutSeconds)
    |                       `- error: cannot find 'URLRequest' in scope
 73 |         request.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")
 74 |         request.setValue("swift-package-audit", forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:78:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         let box = URLSessionResultBox()
 77 |         let semaphore = DispatchSemaphore(value: 0)
 78 |         URLSession.shared.dataTask(with: request) { data, response, error in
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |             if let error {
 80 |                 box.store(.failure(error))
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:82:53: error: value of type '_' expected to be instance of class or class-constrained type
 80 |                 box.store(.failure(error))
 81 |             } else {
 82 |                 box.store(.success((data ?? Data(), response)))
    |                                                     `- error: value of type '_' expected to be instance of class or class-constrained type
 83 |             }
 84 |             semaphore.signal()
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                        `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:93:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
 95 |         }
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:94:61: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
    |                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 95 |         }
 96 |         return data
[7/37] Compiling SwiftPackageAuditCore DependencyHealthDiagnoser.swift
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:170:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private final class URLSessionResultBox: @unchecked Sendable {
169 |     private let lock = NSLock()
170 |     private var result: Result<(Data, URLResponse?), Error>?
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:172:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |     private var result: Result<(Data, URLResponse?), Error>?
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
    |                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 |         lock.lock()
174 |         self.result = result
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:178:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
176 |     }
177 |
178 |     func load() -> Result<(Data, URLResponse?), Error>? {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |         lock.lock()
180 |         defer { lock.unlock() }
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:72:23: error: cannot find 'URLRequest' in scope
 70 |
 71 |     private func fetch(url: URL) throws -> Data {
 72 |         var request = URLRequest(url: url, timeoutInterval: timeoutSeconds)
    |                       `- error: cannot find 'URLRequest' in scope
 73 |         request.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")
 74 |         request.setValue("swift-package-audit", forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:78:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         let box = URLSessionResultBox()
 77 |         let semaphore = DispatchSemaphore(value: 0)
 78 |         URLSession.shared.dataTask(with: request) { data, response, error in
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |             if let error {
 80 |                 box.store(.failure(error))
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:82:53: error: value of type '_' expected to be instance of class or class-constrained type
 80 |                 box.store(.failure(error))
 81 |             } else {
 82 |                 box.store(.success((data ?? Data(), response)))
    |                                                     `- error: value of type '_' expected to be instance of class or class-constrained type
 83 |             }
 84 |             semaphore.signal()
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                        `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:93:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
 95 |         }
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:94:61: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
    |                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 95 |         }
 96 |         return data
[8/37] Compiling SwiftPackageAuditCore PackageLicenseChecker.swift
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:170:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private final class URLSessionResultBox: @unchecked Sendable {
169 |     private let lock = NSLock()
170 |     private var result: Result<(Data, URLResponse?), Error>?
    |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:172:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |     private var result: Result<(Data, URLResponse?), Error>?
171 |
172 |     func store(_ result: Result<(Data, URLResponse?), Error>) {
    |                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 |         lock.lock()
174 |         self.result = result
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:178:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
176 |     }
177 |
178 |     func load() -> Result<(Data, URLResponse?), Error>? {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |         lock.lock()
180 |         defer { lock.unlock() }
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
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:72:23: error: cannot find 'URLRequest' in scope
 70 |
 71 |     private func fetch(url: URL) throws -> Data {
 72 |         var request = URLRequest(url: url, timeoutInterval: timeoutSeconds)
    |                       `- error: cannot find 'URLRequest' in scope
 73 |         request.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")
 74 |         request.setValue("swift-package-audit", forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:78:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |         let box = URLSessionResultBox()
 77 |         let semaphore = DispatchSemaphore(value: 0)
 78 |         URLSession.shared.dataTask(with: request) { data, response, error in
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |             if let error {
 80 |                 box.store(.failure(error))
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:82:53: error: value of type '_' expected to be instance of class or class-constrained type
 80 |                 box.store(.failure(error))
 81 |             } else {
 82 |                 box.store(.success((data ?? Data(), response)))
    |                                                     `- error: value of type '_' expected to be instance of class or class-constrained type
 83 |             }
 84 |             semaphore.signal()
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:40: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                        `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:92:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:93:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 91 |         let (data, response) = try box.load()?.get() ?? (Data(), nil)
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
 95 |         }
/host/spi-builder-workspace/Sources/SwiftPackageAuditCore/LicenseChecking/PackageLicenseChecker.swift:94:61: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |         if let httpResponse = response as? HTTPURLResponse,
 93 |             !(200..<300).contains(httpResponse.statusCode) {
 94 |             throw LicenseCheckError.httpFailed(httpResponse.statusCode)
    |                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 95 |         }
 96 |         return data
[9/37] Compiling SwiftPackageAuditCore ProjectScanResult.swift
[10/37] Compiling SwiftPackageAuditCore ResolvedPackage.swift
[11/37] Compiling SwiftPackageAuditCore ScanConfiguration.swift
[12/37] Compiling SwiftPackageAuditCore Diagnostic.swift
[13/37] Compiling SwiftPackageAuditCore DiagnosticRule.swift
[14/37] Compiling SwiftPackageAuditCore DiagnosticSeverity.swift
[15/37] Compiling SwiftPackageAuditCore WorkspaceScanResult.swift
[16/37] Compiling SwiftPackageAuditCore PackageResolvedParser.swift
[17/37] Compiling SwiftPackageAuditCore XcodeProjectParser.swift
[18/37] Compiling SwiftPackageAuditCore OutputFormat.swift
[19/37] Compiling SwiftPackageAuditCore PackageLicenseCheck.swift
[20/37] Compiling SwiftPackageAuditCore PackageProduct.swift
[21/37] Compiling SwiftPackageAuditCore PackageURLNormalizer.swift
[22/37] Compiling SwiftPackageAuditCore StableHash.swift
[23/37] Compiling SwiftPackageAuditCore PackageVersionChecker.swift
[24/37] Emitting module ArgumentParserToolInfo
[25/37] Compiling ArgumentParserToolInfo ToolInfo.swift
[27/37] Compiling SwiftPackageAuditCore PackageReference.swift
[28/37] Compiling SwiftPackageAuditCore PackageRequirement.swift
[29/37] Compiling SwiftPackageAuditCore PackageVersionCheck.swift
[30/37] Compiling SwiftPackageAuditCore ReportRenderers.swift
[31/37] Compiling SwiftPackageAuditCore SwiftPackageAuditScanner.swift
[32/37] Compiling SwiftPackageAuditCore SwiftPackageAudit.swift
BUILD FAILURE 6.1 android