Build Information
Failed to build Netrofit, reference 0.1.1 (cd874e), with Swift 6.4 for Android on 24 Sep 2026 08:54:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/winddpan/Netrofit.git
Reference: 0.1.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/winddpan/Netrofit
* tag 0.1.1 -> FETCH_HEAD
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 0.1.1
========================================
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-53886770-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 (3.22s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.41s)
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]
[Provisioning 23 / 24]
[Pre-planning 1 / 620]
[Planning deferred tasks]
[6 / 257] SwiftSyntaxMacros-product
[137 / 272] SwiftSyntax602
[170 / 282] SwiftSyntax
[179 / 285] SwiftSyntax
[183 / 286] SwiftSyntax509
[188 / 287] SwiftSyntax
[190 / 287] SwiftSyntax
[203 / 315] SwiftParser
[205 / 315] SwiftDiagnostics
[212 / 315] SwiftBasicFormat
[216 / 315] SwiftParser
[218 / 315] SwiftParser
[219 / 315] SwiftParser
[221 / 315] SwiftParser
[225 / 315] SwiftParser
[226 / 315] SwiftDiagnostics
[228 / 315] SwiftOperators
[231 / 315] SwiftDiagnostics
[232 / 315] SwiftDiagnostics
[234 / 315] SwiftBasicFormat
[236 / 316] SwiftDiagnostics
[237 / 316] SwiftParserDiagnostics
[240 / 316]
[243 / 327] SwiftOperators
[246 / 337] SwiftParserDiagnostics
[258 / 337] SwiftParserDiagnostics
[259 / 337] SwiftParserDiagnostics
[259 / 337] SwiftParser
[261 / 338] SwiftSyntaxBuilder
[263 / 338] SwiftParser
[268 / 338] SwiftOperators
[269 / 338] SwiftOperators
[273 / 338] SwiftBasicFormat
[278 / 348] SwiftSyntaxBuilder
[279 / 349] SwiftSyntaxBuilder
[281 / 350] SwiftSyntax
[281 / 350] SwiftSyntaxBuilder
[282 / 350] SwiftSyntaxBuilder
[289 / 350] SwiftSyntaxBuilder
[294 / 351]
[298 / 360] SwiftSyntaxMacros
[301 / 360] SwiftSyntaxMacros
[307 / 360] SwiftSyntaxMacros-product
[313 / 370] SwiftSyntaxMacroExpansion
[316 / 372] SwiftSyntaxMacroExpansion
[320 / 372] SwiftSyntaxMacroExpansion
[321 / 372] SwiftSyntaxBuilder
[332 / 382] SwiftCompilerPluginMessageHandling
[333 / 382] SwiftCompilerPluginMessageHandling
[335 / 382] SwiftCompilerPluginMessageHandling
[339 / 382] SwiftCompilerPluginMessageHandling
[345 / 385] SwiftCompilerPlugin
[350 / 385] SwiftCompilerPluginMessageHandling
[352 / 386] SwiftSyntaxMacroExpansion
[354 / 387] SwiftCompilerPluginMessageHandling
[356 / 388] SwiftSyntax
[359 / 389] SwiftSyntax
[366 / 389] SwiftSyntaxMacros
[374 / 390] NetrofitMacros
[383 / 399] NetrofitMacros
/host/spi-builder-workspace/Sources/NetrofitMacros/APIMacro.swift:5:8: [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m3 |[0;0m import SwiftSyntaxMacros
[0;36m4 |[0;0m
[0;36m5 |[0;0m struct APIMacro: MemberMacro {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m6 |[0;0m static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
[0;36m7 |[0;0m var attributes: AttributeListSyntax?
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m53 |[0;0m /// - Returns: the set of member declarations introduced by this macro, which
[0;36m54 |[0;0m /// are nested inside the `attachedTo` declaration.
[0;36m55 |[0;0m static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m56 |[0;0m of node: AttributeSyntax,
[0;36m57 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[0;36m:[0;0m
[0;36m87 |[0;0m message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
[0;36m88 |[0;0m )
[0;36m89 |[0;0m public static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m90 |[0;0m of node: AttributeSyntax,
[0;36m91 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/NetrofitMacros/APIMacro.swift:5:8: [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m3 |[0;0m import SwiftSyntaxMacros
[0;36m4 |[0;0m
[0;36m5 |[0;0m struct APIMacro: MemberMacro {
[0;36m|[0;0m `- [1;33mwarning: [1;39mdeprecated 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m6 |[0;0m static func expansion(of node: AttributeSyntax, providingMembersOf declaration: some DeclGroupSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
[0;36m7 |[0;0m var attributes: AttributeListSyntax?
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m53 |[0;0m /// - Returns: the set of member declarations introduced by this macro, which
[0;36m54 |[0;0m /// are nested inside the `attachedTo` declaration.
[0;36m55 |[0;0m static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39mrequirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m56 |[0;0m of node: AttributeSyntax,
[0;36m57 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[0;36m:[0;0m
[0;36m87 |[0;0m message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
[0;36m88 |[0;0m )
[0;36m89 |[0;0m public static func expansion(
[0;36m|[0;0m `- [1;39mnote: [1;39m'expansion(of:providingMembersOf:conformingTo:in:)' declared here[0;0m
[0;36m90 |[0;0m of node: AttributeSyntax,
[0;36m91 |[0;0m providingMembersOf declaration: some DeclGroupSyntax,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[384 / 399] NetrofitMacros
[388 / 400] NetrofitMacros
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
[398 / 410] Netrofit
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:9:25: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m public struct NetrofitResponse: Sendable {
[0;36m9 |[0;0m public var request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m10 |[0;0m public var body: Data?
[0;36m11 |[0;0m public var headers: [String: String]?
/host/spi-builder-workspace/Sources/Netrofit/NetrofitResponse.swift:15:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m13 |[0;0m public var error: Error?
[0;36m14 |[0;0m
[0;36m15 |[0;0m public init(request: [4;39mURLRequest[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m self.request = request
[0;36m17 |[0;0m }
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:24: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m4 |[0;0m public convenience init(
[0;36m5 |[0;0m baseURL: String,
[0;36m6 |[0;0m configuration: [4;39mURLSessionConfiguration[0;0m = .default,
[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;36m7 |[0;0m plugins: [NetrofitPlugin] = []
[0;36m8 |[0;0m ) {
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/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:51: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m4 |[0;0m public convenience init(
[0;36m5 |[0;0m baseURL: String,
[0;36m6 |[0;0m configuration: URLSessionConfiguration = .default,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m7 |[0;0m plugins: [NetrofitPlugin] = []
[0;36m8 |[0;0m ) {
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:6:51: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m4 |[0;0m public convenience init(
[0;36m5 |[0;0m baseURL: String,
[0;36m6 |[0;0m configuration: URLSessionConfiguration = [4;39m.default[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m7 |[0;0m plugins: [NetrofitPlugin] = []
[0;36m8 |[0;0m ) {
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:14:79: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m12 |[0;0m }
[0;36m13 |[0;0m
[0;36m14 |[0;0m final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, [4;39mURLSessionDataDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m15 |[0;0m let configuration: URLSessionConfiguration
[0;36m16 |[0;0m private var urlSession: URLSession!
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:15:24: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
[0;36m15 |[0;0m let 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;36m16 |[0;0m private var urlSession: URLSession!
[0;36m17 |[0;0m private let lock = NSLock()
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/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:16:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m final class _NetrofitSession: NSObject, NetrofitSession, @unchecked Sendable, URLSessionDataDelegate {
[0;36m15 |[0;0m let configuration: URLSessionConfiguration
[0;36m16 |[0;0m private 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;36m17 |[0;0m private let lock = NSLock()
[0;36m18 |[0;0m private var _createdTasks = Set<_NetrofitTask>()
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/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:30:25: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m28 |[0;0m }
[0;36m29 |[0;0m
[0;36m30 |[0;0m 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;36m31 |[0;0m self.configuration = configuration
[0;36m32 |[0;0m super.init()
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/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:128: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m45 |[0;0m }
[0;36m46 |[0;0m
[0;36m47 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> [4;39mURLSession[0;0m.ResponseDisposition {
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m48 |[0;0m if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
[0;36m49 |[0;0m _task.urlResponse = response
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m45 |[0;0m }
[0;36m46 |[0;0m
[0;36m47 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
[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;36m48 |[0;0m if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
[0;36m49 |[0;0m _task.urlResponse = response
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/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:54: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m45 |[0;0m }
[0;36m46 |[0;0m
[0;36m47 |[0;0m func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive response: URLResponse) async -> URLSession.ResponseDisposition {
[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;36m48 |[0;0m if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
[0;36m49 |[0;0m _task.urlResponse = response
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
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:47:95: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m45 |[0;0m }
[0;36m46 |[0;0m
[0;36m47 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: [4;39mURLResponse[0;0m) async -> URLSession.ResponseDisposition {
[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;36m48 |[0;0m if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
[0;36m49 |[0;0m _task.urlResponse = response
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/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:54:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m52 |[0;0m }
[0;36m53 |[0;0m
[0;36m54 |[0;0m 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;36m55 |[0;0m if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
[0;36m56 |[0;0m _task.didReceiveData(data)
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/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:54:54: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m52 |[0;0m }
[0;36m53 |[0;0m
[0;36m54 |[0;0m 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;36m55 |[0;0m if let _task = createdTasks.first(where: { $0.dataTask === dataTask }) {
[0;36m56 |[0;0m _task.didReceiveData(data)
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
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:60:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m }
[0;36m59 |[0;0m
[0;36m60 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: (any 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;36m61 |[0;0m if let _task = createdTasks.first(where: { $0.dataTask === task }) {
[0;36m62 |[0;0m _task.didCompleteWithError(error)
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/Sources/Netrofit/_Netrofit/_NetrofitSession.swift:60:50: [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 }
[0;36m59 |[0;0m
[0;36m60 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: (any 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;36m61 |[0;0m if let _task = createdTasks.first(where: { $0.dataTask === task }) {
[0;36m62 |[0;0m _task.didCompleteWithError(error)
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/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:32:21: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m
[0;36m31 |[0;0m let uuid = UUID()
[0;36m32 |[0;0m let 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;36m33 |[0;0m let request: URLRequest
[0;36m34 |[0;0m let plugins: [NetrofitPlugin]
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/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:33:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m31 |[0;0m let uuid = UUID()
[0;36m32 |[0;0m let urlSession: URLSession
[0;36m33 |[0;0m let request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m34 |[0;0m let plugins: [NetrofitPlugin]
[0;36m35 |[0;0m var urlResponse: URLResponse?
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:35:22: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m33 |[0;0m let request: URLRequest
[0;36m34 |[0;0m let plugins: [NetrofitPlugin]
[0;36m35 |[0;0m var urlResponse: [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;36m36 |[0;0m
[0;36m37 |[0;0m private(set) var responseData = Data()
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/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:38:32: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m36 |[0;0m
[0;36m37 |[0;0m private(set) var responseData = Data()
[0;36m38 |[0;0m private(set) var dataTask: [4;39mURLSessionDataTask[0;0m?
[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;36m39 |[0;0m
[0;36m40 |[0;0m private var state: EventStreamingState = .idle
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
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:43: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m42 |[0;0m private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
[0;36m43 |[0;0m
[0;36m44 |[0;0m init(urlSession: URLSession, request: [4;39mURLRequest[0;0m, plugins: [NetrofitPlugin]) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m45 |[0;0m self.urlSession = urlSession
[0;36m46 |[0;0m self.request = request
/host/spi-builder-workspace/Sources/Netrofit/_Netrofit/_NetrofitTask.swift:44:22: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m private var lineBuffer = Data() // Buffer for accumulating incomplete lines in SSE streaming
[0;36m43 |[0;0m
[0;36m44 |[0;0m init(urlSession: [4;39mURLSession[0;0m, request: URLRequest, plugins: [NetrofitPlugin]) {
[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;36m45 |[0;0m self.urlSession = urlSession
[0;36m46 |[0;0m self.request = request
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
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