The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Netrofit, reference main (cd874e), with Swift 6.4 for Android on 24 Sep 2026 08:54:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/winddpan/Netrofit.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/winddpan/Netrofit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cd874ef Add Swift 6 concurrency support with Sendable conformance
Cloned https://github.com/winddpan/Netrofit.git
Revision (git rev-parse @):
cd874ef94615829fe489ca697077f7d562052db8
SUCCESS checkout https://github.com/winddpan/Netrofit.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/winddpan/Netrofit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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/swiftlang/swift-syntax
[1/80027] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (4.37s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (5.55s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 620]
[Planning deferred tasks]
[137 / 272] SwiftSyntax509
[161 / 272] SwiftSyntax602
[166 / 273] SwiftSyntax
[169 / 282] SwiftSyntax602
[171 / 283] SwiftSyntax602
[177 / 285] SwiftSyntax601
[181 / 285] SwiftSyntax509
[183 / 286] SwiftSyntax509
[185 / 287] SwiftSyntax509
[186 / 287] SwiftSyntax
[189 / 287] SwiftSyntax
[190 / 287] SwiftSyntax
[201 / 298] SwiftDiagnostics
[203 / 315] SwiftParser
[205 / 315] SwiftDiagnostics
[206 / 315] SwiftDiagnostics
[212 / 315] SwiftBasicFormat
[217 / 315] SwiftParser
[218 / 315] SwiftParser
[220 / 315] SwiftParser
[225 / 315] SwiftParser
[227 / 315] SwiftDiagnostics
[228 / 315] SwiftDiagnostics
[229 / 315] SwiftOperators
[230 / 315] SwiftOperators
[232 / 315] SwiftDiagnostics
[233 / 315] SwiftDiagnostics
[234 / 315] SwiftDiagnostics
[235 / 315] SwiftParser
[236 / 315] SwiftParserDiagnostics
[238 / 316] SwiftParser
[239 / 317] SwiftBasicFormat
[243 / 318]
[247 / 329] SwiftOperators
[249 / 338] SwiftParserDiagnostics
[250 / 338] SwiftParserDiagnostics
[251 / 338] SwiftOperators
[253 / 338] SwiftParserDiagnostics
[259 / 338] SwiftParserDiagnostics
[264 / 338] SwiftSyntaxBuilder
[266 / 338] SwiftOperators
[268 / 338] SwiftOperators
[270 / 338] SwiftOperators
[271 / 338] SwiftOperators
[273 / 338] SwiftBasicFormat
[275 / 339]
[277 / 348] SwiftSyntaxBuilder
[279 / 348] SwiftSyntaxBuilder
[280 / 349] SwiftSyntaxBuilder
[281 / 349] SwiftSyntaxBuilder
[282 / 349] SwiftSyntaxBuilder
[284 / 349] SwiftSyntaxBuilder
[290 / 349]
[292 / 350]
[294 / 359] SwiftSyntaxMacros
[298 / 359] SwiftSyntaxMacros
[303 / 359] SwiftSyntaxMacros
[304 / 359] SwiftSyntaxMacros-product
[306 / 360] SwiftSyntaxMacros-product
[312 / 370] SwiftSyntaxMacroExpansion
[313 / 371] SwiftSyntaxMacros
[317 / 371] SwiftSyntaxMacros
[320 / 372] SwiftSyntaxBuilder
[322 / 372] SwiftSyntaxMacroExpansion
[331 / 382] SwiftCompilerPluginMessageHandling
[332 / 382] SwiftCompilerPluginMessageHandling
[334 / 382] SwiftCompilerPluginMessageHandling
[336 / 382] SwiftCompilerPluginMessageHandling
[342 / 382] SwiftCompilerPluginMessageHandling
[345 / 385] SwiftCompilerPlugin
[350 / 385] SwiftCompilerPluginMessageHandling
[351 / 386] SwiftCompilerPlugin
[354 / 387] SwiftCompilerPluginMessageHandling
[356 / 388] SwiftSyntax
[359 / 389] SwiftSyntax
[365 / 389] SwiftSyntaxBuilder
[374 / 390] NetrofitMacros
[383 / 399] NetrofitMacros
/host/spi-builder-workspace/Sources/NetrofitMacros/APIMacro.swift:5:8: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 3 | import SwiftSyntaxMacros
 4 |
 5 | struct APIMacro: MemberMacro {
   |        `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 6 |     static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
 7 |         var attributes: AttributeListSyntax?
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/NetrofitMacros/APIMacro.swift:5:8: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 3 | import SwiftSyntaxMacros
 4 |
 5 | struct APIMacro: MemberMacro {
   |        `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 6 |     static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
 7 |         var attributes: AttributeListSyntax?
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 |   /// - Returns: the set of member declarations introduced by this macro, which
54 |   /// are nested inside the `attachedTo` declaration.
55 |   static func expansion(
   |               `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 |     of node: AttributeSyntax,
57 |     providingMembersOf declaration: some DeclGroupSyntax,
   :
87 |     message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 |   )
89 |   public static func expansion(
   |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 |     of node: AttributeSyntax,
91 |     providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[384 / 399] NetrofitMacros
[388 / 400] NetrofitMacros
[389 / 401] Netrofit
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:9:25: error: cannot find type 'URLRequest' in scope
 7 |
 8 | public struct NetrofitResponse: Sendable {
 9 |     public var request: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
10 |     public var body: Data?
11 |     public var headers: [String: String]?
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: error: cannot find type 'URLRequest' in scope
13 |     public var error: Error?
14 |
15 |     public init(request: URLRequest) {
   |                          `- error: cannot find type 'URLRequest' in scope
16 |         self.request = request
17 |     }
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:51: error: value of type '_' expected to be instance of class or class-constrained type
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                                                   `- error: value of type '_' expected to be instance of class or class-constrained type
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 4 |     public convenience init(
 5 |         baseURL: String,
 6 |         configuration: URLSessionConfiguration = .default,
   |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 7 |         plugins: [NetrofitPlugin] = []
 8 |     ) {
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:14:79: error: cannot find type 'URLSessionDataDelegate' in scope
12 | }
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
   |                                                                               `- error: cannot find type 'URLSessionDataDelegate' in scope
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:15:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
   |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     private var urlSession: URLSession!
17 |     private let lock = NSLock()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
15 |     let configuration: URLSessionConfiguration
16 |     private var urlSession: URLSession!
   |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     private let lock = NSLock()
18 |     private var _createdTasks = Set<_NetrofitTask>()
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:30:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     }
29 |
30 |     init(configuration: URLSessionConfiguration) {
   |                         `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |         self.configuration = configuration
32 |         super.init()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                                                                `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     }
46 |
47 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
   |                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
49 |             _task.urlResponse = response
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/Netrofit/_Netrofit/_NetrofitSession.swift:54:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:54:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
52 |     }
53 |
54 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 |         if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
56 |             _task.didReceiveData(data)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:60:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:60:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         if let _task = createdTasks.first(where: { $0.dataTask === task }) {
62 |             _task.didCompleteWithError(error)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:32:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:33:18: error: cannot find type 'URLRequest' in scope
 31 |     let uuid = UUID()
 32 |     let urlSession: URLSession
 33 |     let request: URLRequest
    |                  `- error: cannot find type 'URLRequest' in scope
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:35:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |     let request: URLRequest
 34 |     let plugins: [NetrofitPlugin]
 35 |     var urlResponse: URLResponse?
    |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = Data()
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/Netrofit/_Netrofit/_NetrofitTask.swift:38:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |     private(set) var responseData = Data()
 38 |     private(set) var dataTask: URLSessionDataTask?
    |                                `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |
 40 |     private var state: EventStreamingState = .idle
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:43: error: cannot find type 'URLRequest' in scope
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                                           `- error: cannot find type 'URLRequest' in scope
 45 |         self.urlSession = urlSession
 46 |         self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
 43 |
 44 |     init(urlSession: URLSession, request: URLRequest, plugins: [NetrofitPlugin]) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         self.urlSession = urlSession
 46 |         self.request = request
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
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/Sources/Netrofit/AttributeWrappers.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/DynamicContentTypeDecoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/EventStreamingDecoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/HTTPBodyDecoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/JSONDecoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyDecoder/TextPlainDecoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyEncoder/HTTPBodyEncoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyEncoder/JSONEncoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyEncoder/MultipartEncoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyEncoder/TextPlainEncoder.swift /host/spi-builder-workspace/Sources/Netrofit/HTTPBodyEncoder/URLEncodedFormEncoder.swift /host/spi-builder-workspace/Sources/Netrofit/NetrofitMacros.swift /host/spi-builder-workspace/Sources/Netrofit/NetrofitPlugin.swift /host/spi-builder-workspace/Sources/Netrofit/NetrofitProvider.swift /host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift /host/spi-builder-workspace/Sources/Netrofit/NetrofitSessionProtocols.swift /host/spi-builder-workspace/Sources/Netrofit/RequestBuilder.swift /host/spi-builder-workspace/Sources/Netrofit/Utils/AnyEncodable.swift /host/spi-builder-workspace/Sources/Netrofit/Utils/String+URLPathPart.swift /host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift /host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.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 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/NetrofitMacros\#NetrofitMacros -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/Netrofit.build/Debug-android-aarch64/Netrofit-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-android-aarch64/Netrofit-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-android-aarch64/Netrofit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Netrofit -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-android-aarch64/Netrofit-t.build/Objects-normal/aarch64/Netrofit_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/Netrofit.build/Debug-android-aarch64/Netrofit-t.build/Objects-normal/aarch64/Modules/Netrofit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-android-aarch64/Netrofit-t.build/Objects-normal/aarch64/Modules/Netrofit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-android-aarch64/Netrofit-t.build/Objects-normal/aarch64/Netrofit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-android-aarch64/Netrofit-t.build/Objects-normal/aarch64/Netrofit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-android-aarch64/Netrofit-t.build/Objects-normal/aarch64/Netrofit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Netrofit.build/Debug-android-aarch64/Netrofit-t.build/Objects-normal/aarch64/Modules/Netrofit.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android