Build Information
Failed to build LicensePlist, reference main (5017fc), with Swift 6.4 for Android on 3 Oct 2026 10:47:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mono0926/LicensePlist.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/mono0926/LicensePlist
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5017fc1 fix: CocoaPodsのpodspecテンプレートのdeployment_targetを更新
Cloned https://github.com/mono0926/LicensePlist.git
Revision (git rev-parse @):
5017fc1bbb611d3708daaba3209fdb41b9cd1de7
SUCCESS checkout https://github.com/mono0926/LicensePlist.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/mono0926/LicensePlist.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/LebJe/TOMLKit.git
Fetching https://github.com/Kitura/swift-html-entities.git
Fetching https://github.com/tomlokhorst/XcodeEdit.git
[1/1253] Fetching xcodeedit
[27/1916] Fetching xcodeedit, swift-html-entities
[107/25338] Fetching xcodeedit, swift-html-entities, tomlkit
[2480/37199] Fetching xcodeedit, swift-html-entities, tomlkit, yams
Fetched https://github.com/tomlokhorst/XcodeEdit.git (0.48s)
[5938/35946] Fetching swift-html-entities, tomlkit, yams
Fetched https://github.com/Kitura/swift-html-entities.git (0.49s)
Fetching https://github.com/ishkawa/APIKit.git
[5394/35283] Fetching tomlkit, yams
Fetching https://github.com/apple/swift-argument-parser.git
[29354/40848] Fetching tomlkit, yams, apikit
[35275/59858] Fetching tomlkit, yams, apikit, swift-argument-parser
Fetched https://github.com/ishkawa/APIKit.git (0.73s)
[31846/54293] Fetching tomlkit, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (1.53s)
Fetching https://github.com/YusukeHosonuma/SwiftParamTest
Fetching https://github.com/Kitura/HeliumLogger.git
Fetched https://github.com/LebJe/TOMLKit.git (2.08s)
Fetched https://github.com/jpsim/Yams.git (2.10s)
[1/812] Fetching swiftparamtest
[83/2079] Fetching swiftparamtest, heliumlogger
Fetched https://github.com/Kitura/HeliumLogger.git (0.43s)
[626/812] Fetching swiftparamtest
Fetched https://github.com/YusukeHosonuma/SwiftParamTest (0.46s)
Computing version for https://github.com/LebJe/TOMLKit.git
Computed https://github.com/LebJe/TOMLKit.git at 0.6.0 (3.85s)
Computing version for https://github.com/Kitura/swift-html-entities.git
Computed https://github.com/Kitura/swift-html-entities.git at 4.0.1 (0.27s)
Computing version for https://github.com/Kitura/HeliumLogger.git
Computed https://github.com/Kitura/HeliumLogger.git at 2.0.0 (0.24s)
Fetching https://github.com/apple/swift-log.git
[1/8232] Fetching swift-log
Fetching https://github.com/Kitura/LoggerAPI.git
Fetched https://github.com/apple/swift-log.git (0.55s)
[1/784] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git (0.40s)
Computing version for https://github.com/ishkawa/APIKit.git
Computed https://github.com/ishkawa/APIKit.git at 5.4.0 (1.23s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.1.0 (0.22s)
Computing version for https://github.com/YusukeHosonuma/SwiftParamTest
Computed https://github.com/YusukeHosonuma/SwiftParamTest at 2.2.1 (0.24s)
Fetching https://github.com/YusukeHosonuma/Flatten.git
[1/146] Fetching flatten
Fetching https://github.com/YusukeHosonuma/SHList.git
Fetched https://github.com/YusukeHosonuma/Flatten.git (0.34s)
[1/68] Fetching shlist
Fetched https://github.com/YusukeHosonuma/SHList.git (0.33s)
Computing version for https://github.com/YusukeHosonuma/SHList.git
Computed https://github.com/YusukeHosonuma/SHList.git at 0.1.0 (0.94s)
Computing version for https://github.com/YusukeHosonuma/Flatten.git
Computed https://github.com/YusukeHosonuma/Flatten.git at 0.1.0 (0.28s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.2 (0.45s)
Computing version for https://github.com/tomlokhorst/XcodeEdit.git
Computed https://github.com/tomlokhorst/XcodeEdit.git at 2.13.0 (0.29s)
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.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.30s)
Creating working copy for https://github.com/Kitura/HeliumLogger.git
Working copy of https://github.com/Kitura/HeliumLogger.git resolved at 2.0.0
Creating working copy for https://github.com/LebJe/TOMLKit.git
Working copy of https://github.com/LebJe/TOMLKit.git resolved at 0.6.0
Creating working copy for https://github.com/tomlokhorst/XcodeEdit.git
Working copy of https://github.com/tomlokhorst/XcodeEdit.git resolved at 2.13.0
Creating working copy for https://github.com/Kitura/swift-html-entities.git
Working copy of https://github.com/Kitura/swift-html-entities.git resolved at 4.0.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.2
Creating working copy for https://github.com/YusukeHosonuma/SwiftParamTest
Working copy of https://github.com/YusukeHosonuma/SwiftParamTest resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/ishkawa/APIKit.git
Working copy of https://github.com/ishkawa/APIKit.git resolved at 5.4.0
Creating working copy for https://github.com/YusukeHosonuma/SHList.git
Working copy of https://github.com/YusukeHosonuma/SHList.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/YusukeHosonuma/Flatten.git
Working copy of https://github.com/YusukeHosonuma/Flatten.git resolved at 0.1.0
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.1.0
Downloading binary artifact https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip
[0/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (16 KB / 2.9 MB)
[1/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (33 KB / 2.9 MB)
[1/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (49 KB / 2.9 MB)
[2/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (66 KB / 2.9 MB)
[2/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (82 KB / 2.9 MB)
[3/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (98 KB / 2.9 MB)
[3/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (115 KB / 2.9 MB)
[4/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (131 KB / 2.9 MB)
[5/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (147 KB / 2.9 MB)
[5/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (164 KB / 2.9 MB)
[6/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (180 KB / 2.9 MB)
[6/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (197 KB / 2.9 MB)
[7/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (229 KB / 2.9 MB)
[8/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (246 KB / 2.9 MB)
[9/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (262 KB / 2.9 MB)
[10/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (295 KB / 2.9 MB)
[10/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (311 KB / 2.9 MB)
[11/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (328 KB / 2.9 MB)
[13/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (393 KB / 2.9 MB)
[14/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (426 KB / 2.9 MB)
[15/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (442 KB / 2.9 MB)
[15/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (459 KB / 2.9 MB)
[16/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (475 KB / 2.9 MB)
[16/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (492 KB / 2.9 MB)
[17/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (508 KB / 2.9 MB)
[18/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (524 KB / 2.9 MB)
[19/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (573 KB / 2.9 MB)
[20/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (585 KB / 2.9 MB)
[21/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (617 KB / 2.9 MB)
[21/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (634 KB / 2.9 MB)
[22/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (650 KB / 2.9 MB)
[23/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (667 KB / 2.9 MB)
[23/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (683 KB / 2.9 MB)
[24/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (716 KB / 2.9 MB)
[25/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (732 KB / 2.9 MB)
[25/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (749 KB / 2.9 MB)
[26/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (765 KB / 2.9 MB)
[26/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (781 KB / 2.9 MB)
[27/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (798 KB / 2.9 MB)
[28/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (814 KB / 2.9 MB)
[29/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (847 KB / 2.9 MB)
[30/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (880 KB / 2.9 MB)
[30/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (896 KB / 2.9 MB)
[31/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (912 KB / 2.9 MB)
[33/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (978 KB / 2.9 MB)
[34/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (994 KB / 2.9 MB)
[36/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.1 MB / 2.9 MB)
[39/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.2 MB / 2.9 MB)
[43/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.3 MB / 2.9 MB)
[50/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.5 MB / 2.9 MB)
[54/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.6 MB / 2.9 MB)
[57/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.7 MB / 2.9 MB)
[60/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.8 MB / 2.9 MB)
[65/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (1.9 MB / 2.9 MB)
[67/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2 MB / 2.9 MB)
[71/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.1 MB / 2.9 MB)
[81/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.4 MB / 2.9 MB)
[84/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.5 MB / 2.9 MB)
[88/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.6 MB / 2.9 MB)
[91/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.7 MB / 2.9 MB)
[96/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.8 MB / 2.9 MB)
[100/100] Downloading https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (2.9 MB / 2.9 MB)
Downloaded https://github.com/mono0926/LicensePlist/releases/download/3.28.3/LicensePlistBinary-macos.artifactbundle.zip (0.62s)
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 454]
[Planning 407 / 454]
[Planning deferred tasks]
[Starting]
[37 / 183] Logging
[97 / 188] CYaml
[101 / 213] Logging
[104 / 222] APIKit
[105 / 222] CTOML
[107 / 222] CTOML
[108 / 222] CYaml
[109 / 222] ArgumentParserToolInfo
[111 / 222] ArgumentParserToolInfo
[121 / 222] XcodeEdit
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Error/RequestError.swift:9:31: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m /// Indicates `URLRequest` built by `Request.buildURLRequest` is unexpected.
[0;36m9 |[0;0m case unexpectedURLRequest([4;39mURLRequest[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m10 |[0;0m }
[0;36m11 |[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Error/ResponseError.swift:7:29: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m5 |[0;0m public enum ResponseError: Error {
[0;36m6 |[0;0m /// Indicates the session adapter returned `URLResponse` that fails to down-cast to `HTTPURLResponse`.
[0;36m7 |[0;0m case nonHTTPURLResponse([4;39mURLResponse[0;0m?)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /// Indicates `HTTPURLResponse.statusCode` is not acceptable.
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:48:54: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m46 |[0;0m /// thrown in this method, the result of `Session.send()` turns `.failure(.requestError(error))`.
[0;36m47 |[0;0m /// - Throws: `Error`
[0;36m48 |[0;0m func intercept(urlRequest: URLRequest) throws -> [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m49 |[0;0m
[0;36m50 |[0;0m /// Intercepts response `Any` and `HTTPURLResponse`. If an error is thrown in this method,
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:48:32: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m46 |[0;0m /// thrown in this method, the result of `Session.send()` turns `.failure(.requestError(error))`.
[0;36m47 |[0;0m /// - Throws: `Error`
[0;36m48 |[0;0m func intercept(urlRequest: [4;39mURLRequest[0;0m) throws -> URLRequest
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m49 |[0;0m
[0;36m50 |[0;0m /// Intercepts response `Any` and `HTTPURLResponse`. If an error is thrown in this method,
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:55:46: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m53 |[0;0m /// if the HTTP status code is not in `200..<300`.
[0;36m54 |[0;0m /// - Throws: `Error`
[0;36m55 |[0;0m func intercept(object: Any, urlResponse: [4;39mHTTPURLResponse[0;0m) throws -> Any
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m56 |[0;0m
[0;36m57 |[0;0m /// Build `Response` instance from raw response object. This method is called after
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:60:50: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m /// `intercept(object:urlResponse:)` if it does not throw any error.
[0;36m59 |[0;0m /// - Throws: `Error`
[0;36m60 |[0;0m func response(from object: Any, urlResponse: [4;39mHTTPURLResponse[0;0m) throws -> Response
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m }
[0;36m62 |[0;0m
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:92:54: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m90 |[0;0m }
[0;36m91 |[0;0m
[0;36m92 |[0;0m func intercept(urlRequest: URLRequest) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m93 |[0;0m return urlRequest
[0;36m94 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:92:32: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m90 |[0;0m }
[0;36m91 |[0;0m
[0;36m92 |[0;0m func intercept(urlRequest: [4;39mURLRequest[0;0m) throws -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m93 |[0;0m return urlRequest
[0;36m94 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:96:46: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m94 |[0;0m }
[0;36m95 |[0;0m
[0;36m96 |[0;0m func intercept(object: Any, urlResponse: [4;39mHTTPURLResponse[0;0m) throws -> Any {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m97 |[0;0m guard 200..<300 ~= urlResponse.statusCode else {
[0;36m98 |[0;0m throw ResponseError.unacceptableStatusCode(urlResponse.statusCode)
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:105:38: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m103 |[0;0m /// Builds `URLRequest` from properties of `self`.
[0;36m104 |[0;0m /// - Throws: `RequestError`, `Error`
[0;36m105 |[0;0m func buildURLRequest() throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m106 |[0;0m let url = path.isEmpty ? baseURL : baseURL.appendingPathComponent(path)
[0;36m107 |[0;0m guard var components = URLComponents(url: url, resolvingAgainstBaseURL: true) else {
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:142:41: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m140 |[0;0m /// Builds `Response` from response `Data`.
[0;36m141 |[0;0m /// - Throws: `ResponseError`, `Error`
[0;36m142 |[0;0m func parse(data: Data, urlResponse: [4;39mHTTPURLResponse[0;0m) throws -> Response {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m143 |[0;0m let parsedObject = try dataParser.parse(data: data)
[0;36m144 |[0;0m let passedObject = try intercept(object: parsedObject, urlResponse: urlResponse)
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift:150:50: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m148 |[0;0m
[0;36m149 |[0;0m public extension Request where Response == Void {
[0;36m150 |[0;0m func response(from object: Any, urlResponse: [4;39mHTTPURLResponse[0;0m) throws {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m151 |[0;0m return
[0;36m152 |[0;0m }
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m12 |[0;0m public protocol SessionAdapter {
[0;36m13 |[0;0m /// Returns instance that conforms to `SessionTask`. `handler` must be called after success or failure.
[0;36m14 |[0;0m func createTask(with URLRequest: [4;39mURLRequest[0;0m, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// Collects tasks from backend networking stack. `handler` must be called after collecting.
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Session.swift:23:53: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m21 |[0;0m // Shared session for class methods
[0;36m22 |[0;0m private static let privateShared: Session = {
[0;36m23 |[0;0m let configuration = [4;39mURLSessionConfiguration[0;0m.[4;39mdefault[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m24 |[0;0m let adapter = URLSessionAdapter(configuration: configuration)
[0;36m25 |[0;0m return Session(adapter: adapter)
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:77: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m public protocol SessionAdapter {
[0;36m13 |[0;0m /// Returns instance that conforms to `SessionTask`. `handler` must be called after success or failure.
[0;36m14 |[0;0m func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void) -> SessionTask
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// Collects tasks from backend networking stack. `handler` must be called after collecting.
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:3:1: [1;31merror: [1;39mnon-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m extension [4;39mURLSessionTask[0;0m: SessionTask {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m4 |[0;0m
[0;36m5 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:57: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m15 |[0;0m /// `URLSession(_:task: didCompleteWithError:)` and `URLSession(_:dataTask:didReceiveData:)`, you have to call
[0;36m16 |[0;0m /// `super` in these methods if you implement them.
[0;36m17 |[0;0m open class URLSessionAdapter: NSObject, SessionAdapter, [4;39mURLSessionDelegate[0;0m, URLSessionTaskDelegate, URLSessionDataDelegate {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m18 |[0;0m /// The underlying `URLSession` instance.
[0;36m19 |[0;0m open var urlSession: URLSession!
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:77: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m15 |[0;0m /// `URLSession(_:task: didCompleteWithError:)` and `URLSession(_:dataTask:didReceiveData:)`, you have to call
[0;36m16 |[0;0m /// `super` in these methods if you implement them.
[0;36m17 |[0;0m open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, [4;39mURLSessionTaskDelegate[0;0m, URLSessionDataDelegate {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m18 |[0;0m /// The underlying `URLSession` instance.
[0;36m19 |[0;0m open var urlSession: URLSession!
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:101: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m15 |[0;0m /// `URLSession(_:task: didCompleteWithError:)` and `URLSession(_:dataTask:didReceiveData:)`, you have to call
[0;36m16 |[0;0m /// `super` in these methods if you implement them.
[0;36m17 |[0;0m open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, [4;39mURLSessionDataDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m18 |[0;0m /// The underlying `URLSession` instance.
[0;36m19 |[0;0m open var urlSession: URLSession!
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:19:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
[0;36m18 |[0;0m /// The underlying `URLSession` instance.
[0;36m19 |[0;0m open var urlSession: [4;39mURLSession[0;0m!
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m /// Returns `URLSessionAdapter` initialized with `URLSessionConfiguration`.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:22:32: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m /// Returns `URLSessionAdapter` initialized with `URLSessionConfiguration`.
[0;36m22 |[0;0m public init(configuration: [4;39mURLSessionConfiguration[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m super.init()
[0;36m24 |[0;0m self.urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:43: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m /// Creates `URLSessionDataTask` instance using `dataTaskWithRequest(_:completionHandler:)`.
[0;36m28 |[0;0m open func createTask(with URLRequest: [4;39mURLRequest[0;0m, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m29 |[0;0m let task = urlSession.dataTask(with: URLRequest)
[0;36m30 |[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:82: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m /// Creates `URLSessionDataTask` instance using `dataTaskWithRequest(_:completionHandler:)`.
[0;36m28 |[0;0m open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void) -> SessionTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m let task = urlSession.dataTask(with: URLRequest)
[0;36m30 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:45:67: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m
[0;36m45 |[0;0m private func setBuffer(_ buffer: NSMutableData, forTask task: [4;39mURLSessionTask[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m objc_setAssociatedObject(task, &dataTaskResponseBufferKey, buffer, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
[0;36m47 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:49:35: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m }
[0;36m48 |[0;0m
[0;36m49 |[0;0m private func buffer(for task: [4;39mURLSessionTask[0;0m) -> NSMutableData? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m50 |[0;0m return objc_getAssociatedObject(task, &dataTaskResponseBufferKey) as? NSMutableData
[0;36m51 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:58: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m51 |[0;0m }
[0;36m52 |[0;0m
[0;36m53 |[0;0m private func setHandler(_ handler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void, forTask task: URLSessionTask) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m54 |[0;0m objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
[0;36m55 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:103: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m51 |[0;0m }
[0;36m52 |[0;0m
[0;36m53 |[0;0m private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: [4;39mURLSessionTask[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m54 |[0;0m objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
[0;36m55 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:36: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m55 |[0;0m }
[0;36m56 |[0;0m
[0;36m57 |[0;0m private func handler(for task: [4;39mURLSessionTask[0;0m) -> ((Data?, URLResponse?, Error?) -> Void)? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m return objc_getAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey) as? (Data?, URLResponse?, Error?) -> Void
[0;36m59 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:64: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m55 |[0;0m }
[0;36m56 |[0;0m
[0;36m57 |[0;0m private func handler(for task: URLSessionTask) -> ((Data?, [4;39mURLResponse[0;0m?, Error?) -> Void)? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m return objc_getAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey) as? (Data?, URLResponse?, Error?) -> Void
[0;36m59 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:37: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m
[0;36m61 |[0;0m // MARK: URLSessionTaskDelegate
[0;36m62 |[0;0m open func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m handler(for: task)?(buffer(for: task) as Data?, task.response, error)
[0;36m64 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:55: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m
[0;36m61 |[0;0m // MARK: URLSessionTaskDelegate
[0;36m62 |[0;0m open func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m handler(for: task)?(buffer(for: task) as Data?, task.response, error)
[0;36m64 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:37: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m65 |[0;0m
[0;36m66 |[0;0m // MARK: URLSessionDataDelegate
[0;36m67 |[0;0m open func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m68 |[0;0m buffer(for: dataTask)?.append(data)
[0;36m69 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:59: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m65 |[0;0m
[0;36m66 |[0;0m // MARK: URLSessionDataDelegate
[0;36m67 |[0;0m open func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m68 |[0;0m buffer(for: dataTask)?.append(data)
[0;36m69 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/BodyParameters.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/Data+InputStream.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/FormURLEncodedBodyParameters.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/JSONBodyParameters.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/BodyParameters/ProtobufBodyParameters.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/CallbackQueue.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Combine/Combine.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Concurrency/Concurrency.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/DataParser/DataParser.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/DataParser/FormURLEncodedDataParser.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/DataParser/JSONDataParser.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/DataParser/ProtobufDataParser.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/DataParser/StringDataParser.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Error/RequestError.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Error/ResponseError.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Error/SessionTaskError.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/HTTPMethod.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Request.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Serializations/URLEncodedSerialization.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Session.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/SessionAdapter.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift /host/spi-builder-workspace/.build/checkouts/APIKit/Sources/APIKit/Unavailable.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-android-aarch64/APIKit-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-android-aarch64/APIKit-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-android-aarch64/APIKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name APIKit -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-android-aarch64/APIKit-t.build/Objects-normal/aarch64/APIKit_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-android-aarch64/APIKit-t.build/Objects-normal/aarch64/Modules/APIKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-android-aarch64/APIKit-t.build/Objects-normal/aarch64/Modules/APIKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-android-aarch64/APIKit-t.build/Objects-normal/aarch64/APIKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-android-aarch64/APIKit-t.build/Objects-normal/aarch64/APIKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-android-aarch64/APIKit-t.build/Objects-normal/aarch64/APIKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/APIKit.build/Debug-android-aarch64/APIKit-t.build/Objects-normal/aarch64/Modules/APIKit.swiftmodule
[122 / 222] Logging
error: Build failed
BUILD FAILURE 6.4 android