Build Information
Failed to build ZenmanageSwift, reference 1.0.1 (2a8079), with Swift 6.4 for Android on 1 Nov 2026 13:49:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zenmanage/zenmanage-swift.git
Reference: 1.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/zenmanage/zenmanage-swift
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 2a8079d chore: bump version to 1.0.1 (#9)
Cloned https://github.com/zenmanage/zenmanage-swift.git
Revision (git rev-parse @):
2a8079deeb825fcdf2aefc0ae037074490661cab
SUCCESS checkout https://github.com/zenmanage/zenmanage-swift.git at 1.0.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/zenmanage/zenmanage-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Planning deferred tasks]
[28 / 36] Zenmanage
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/Zenmanage/APIClient.swift:21: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;36m19 |[0;0m private let enableUsageReporting: Bool
[0;36m20 |[0;0m private let logger: any ZenmanageLogger
[0;36m21 |[0;0m private 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;36m22 |[0;0m private let clientAgent: String
[0;36m23 |[0;0m private let requestTimeout: TimeInterval
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/Zenmanage/APIClient.swift:116:106: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m114 |[0;0m }
[0;36m115 |[0;0m
[0;36m116 |[0;0m private func makeRequest(url: URL, includeContentType: Bool = true, timeout: TimeInterval? = nil) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m117 |[0;0m var request = URLRequest(url: url)
[0;36m118 |[0;0m request.timeoutInterval = timeout ?? requestTimeout
/host/spi-builder-workspace/Sources/Zenmanage/APIClient.swift:131:35: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m129 |[0;0m }
[0;36m130 |[0;0m
[0;36m131 |[0;0m private func perform(request: [4;39mURLRequest[0;0m) async throws -> Data {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m132 |[0;0m let (data, response) = try await urlSession.data(for: request)
[0;36m133 |[0;0m
/host/spi-builder-workspace/Sources/Zenmanage/Configuration.swift:11:28: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m public let apiEndpoint: URL
[0;36m10 |[0;0m public let logger: any ZenmanageLogger
[0;36m11 |[0;0m public 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;36m12 |[0;0m public let clientAgent: String?
[0;36m13 |[0;0m /// Timeout, in seconds, applied to each rules request. Usage reports use the smaller
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/Zenmanage/Configuration.swift:29: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;36m27 |[0;0m apiEndpoint: URL = URL(string: "https://api.zenmanage.com")!,
[0;36m28 |[0;0m logger: any ZenmanageLogger = NullLogger(),
[0;36m29 |[0;0m urlSession: [4;39mURLSession[0;0m = .shared,
[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;36m30 |[0;0m clientAgent: String? = nil,
[0;36m31 |[0;0m requestTimeout: TimeInterval = ZenmanageConfiguration.defaultRequestTimeout
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/Zenmanage/Configuration.swift:29:35: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m27 |[0;0m apiEndpoint: URL = URL(string: "https://api.zenmanage.com")!,
[0;36m28 |[0;0m logger: any ZenmanageLogger = NullLogger(),
[0;36m29 |[0;0m urlSession: URLSession = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m30 |[0;0m clientAgent: String? = nil,
[0;36m31 |[0;0m requestTimeout: TimeInterval = ZenmanageConfiguration.defaultRequestTimeout
/host/spi-builder-workspace/Sources/Zenmanage/Configuration.swift:29:35: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m27 |[0;0m apiEndpoint: URL = URL(string: "https://api.zenmanage.com")!,
[0;36m28 |[0;0m logger: any ZenmanageLogger = NullLogger(),
[0;36m29 |[0;0m urlSession: URLSession = [4;39m.shared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m30 |[0;0m clientAgent: String? = nil,
[0;36m31 |[0;0m requestTimeout: TimeInterval = ZenmanageConfiguration.defaultRequestTimeout
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:4:2: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m2 |[0;0m
[0;36m3 |[0;0m /// Objective-C compatible attribute wrapper.
[0;36m4 |[0;0m @objc(ZMObjCAttribute)
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m5 |[0;0m public final class ObjCAttribute: NSObject {
[0;36m6 |[0;0m let attribute: Attribute
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:8:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m6 |[0;0m let attribute: Attribute
[0;36m7 |[0;0m
[0;36m8 |[0;0m @objc public let key: String
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m9 |[0;0m @objc public let values: [String]
[0;36m10 |[0;0m
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:9:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m @objc public let key: String
[0;36m9 |[0;0m @objc public let values: [String]
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m @objc public init(key: String, values: [String] = []) {
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:11:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m9 |[0;0m @objc public let values: [String]
[0;36m10 |[0;0m
[0;36m11 |[0;0m @objc public init(key: String, values: [String] = []) {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m12 |[0;0m self.key = key
[0;36m13 |[0;0m self.values = values
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:20:2: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m18 |[0;0m
[0;36m19 |[0;0m /// Objective-C compatible context wrapper.
[0;36m20 |[0;0m @objc(ZMObjCContext)
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m21 |[0;0m public final class ObjCContext: NSObject {
[0;36m22 |[0;0m let context: Context
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:24:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m22 |[0;0m let context: Context
[0;36m23 |[0;0m
[0;36m24 |[0;0m @objc public let type: String
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m25 |[0;0m @objc public let name: String?
[0;36m26 |[0;0m @objc public let identifier: String?
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:25:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m @objc public let type: String
[0;36m25 |[0;0m @objc public let name: String?
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m26 |[0;0m @objc public let identifier: String?
[0;36m27 |[0;0m @objc public let attributes: [ObjCAttribute]
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:26:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m24 |[0;0m @objc public let type: String
[0;36m25 |[0;0m @objc public let name: String?
[0;36m26 |[0;0m @objc public let identifier: String?
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m27 |[0;0m @objc public let attributes: [ObjCAttribute]
[0;36m28 |[0;0m
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:27:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m25 |[0;0m @objc public let name: String?
[0;36m26 |[0;0m @objc public let identifier: String?
[0;36m27 |[0;0m @objc public let attributes: [ObjCAttribute]
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m @objc public init(type: String, name: String? = nil, identifier: String? = nil, attributes: [ObjCAttribute] = []) {
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:29:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m27 |[0;0m @objc public let attributes: [ObjCAttribute]
[0;36m28 |[0;0m
[0;36m29 |[0;0m @objc public init(type: String, name: String? = nil, identifier: String? = nil, attributes: [ObjCAttribute] = []) {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m30 |[0;0m self.type = type
[0;36m31 |[0;0m self.name = name
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:38:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m36 |[0;0m }
[0;36m37 |[0;0m
[0;36m38 |[0;0m @objc public static func single(type: String, identifier: String, name: String? = nil) -> ObjCContext {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m39 |[0;0m ObjCContext(type: type, name: name, identifier: identifier)
[0;36m40 |[0;0m }
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:44:2: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m42 |[0;0m
[0;36m43 |[0;0m /// Objective-C compatible defaults wrapper.
[0;36m44 |[0;0m @objc(ZMObjCDefaultsCollection)
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m45 |[0;0m public final class ObjCDefaultsCollection: NSObject {
[0;36m46 |[0;0m let defaults = DefaultsCollection()
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:48:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m46 |[0;0m let defaults = DefaultsCollection()
[0;36m47 |[0;0m
[0;36m48 |[0;0m @objc @discardableResult public func setBool(_ value: Bool, forKey key: String) -> ObjCDefaultsCollection {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m49 |[0;0m defaults.set(key, bool: value)
[0;36m50 |[0;0m return self
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:53:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m51 |[0;0m }
[0;36m52 |[0;0m
[0;36m53 |[0;0m @objc @discardableResult public func setString(_ value: String, forKey key: String) -> ObjCDefaultsCollection {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m54 |[0;0m defaults.set(key, string: value)
[0;36m55 |[0;0m return self
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:58:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m56 |[0;0m }
[0;36m57 |[0;0m
[0;36m58 |[0;0m @objc @discardableResult public func setNumber(_ value: NSNumber, forKey key: String) -> ObjCDefaultsCollection {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m59 |[0;0m defaults.set(key, number: value.doubleValue)
[0;36m60 |[0;0m return self
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:66:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m64 |[0;0m /// can't be represented in JSON (anything but strings, numbers, booleans, `NSNull`,
[0;36m65 |[0;0m /// dictionaries, and arrays) are stored as `null`; any other top-level value is ignored.
[0;36m66 |[0;0m @objc @discardableResult public func setJson(_ value: Any, forKey key: String) -> ObjCDefaultsCollection {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m67 |[0;0m if value is NSDictionary || value is NSArray {
[0;36m68 |[0;0m defaults.set(key, json: JSONValue(foundationValue: value))
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:76:2: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m74 |[0;0m
[0;36m75 |[0;0m /// Objective-C compatible flag wrapper.
[0;36m76 |[0;0m @objc(ZMObjCFlag)
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m77 |[0;0m public final class ObjCFlag: NSObject {
[0;36m78 |[0;0m private let flag: Flag
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:80:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m78 |[0;0m private let flag: Flag
[0;36m79 |[0;0m
[0;36m80 |[0;0m @objc public let key: String
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m81 |[0;0m @objc public let name: String
[0;36m82 |[0;0m @objc public let type: String
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:81:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m79 |[0;0m
[0;36m80 |[0;0m @objc public let key: String
[0;36m81 |[0;0m @objc public let name: String
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m82 |[0;0m @objc public let type: String
[0;36m83 |[0;0m
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:82:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m80 |[0;0m @objc public let key: String
[0;36m81 |[0;0m @objc public let name: String
[0;36m82 |[0;0m @objc public let type: String
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m83 |[0;0m
[0;36m84 |[0;0m init(flag: Flag) {
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:92:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m90 |[0;0m }
[0;36m91 |[0;0m
[0;36m92 |[0;0m @objc public func isEnabled() -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m93 |[0;0m flag.isEnabled()
[0;36m94 |[0;0m }
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:96:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m94 |[0;0m }
[0;36m95 |[0;0m
[0;36m96 |[0;0m @objc public func asBool() -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m97 |[0;0m flag.asBool()
[0;36m98 |[0;0m }
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:100:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m98 |[0;0m }
[0;36m99 |[0;0m
[0;36m100 |[0;0m @objc public func asString() -> String {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m101 |[0;0m flag.asString()
[0;36m102 |[0;0m }
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:104:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m102 |[0;0m }
[0;36m103 |[0;0m
[0;36m104 |[0;0m @objc public func asNumber() -> NSNumber {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m105 |[0;0m NSNumber(value: flag.asNumber())
[0;36m106 |[0;0m }
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:108:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m106 |[0;0m }
[0;36m107 |[0;0m
[0;36m108 |[0;0m @objc public func asJson() -> Any {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m109 |[0;0m flag.asJson().foundationValue
[0;36m110 |[0;0m }
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:161:2: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m159 |[0;0m
[0;36m160 |[0;0m /// Objective-C compatible flag manager wrapper.
[0;36m161 |[0;0m @objc(ZMObjCFlagManager)
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m162 |[0;0m public final class ObjCFlagManager: NSObject {
[0;36m163 |[0;0m private let manager: FlagManager
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:170:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m168 |[0;0m }
[0;36m169 |[0;0m
[0;36m170 |[0;0m @objc public func withContext(_ context: ObjCContext) -> ObjCFlagManager {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m171 |[0;0m ObjCFlagManager(manager: manager.withContext(context.context))
[0;36m172 |[0;0m }
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:174:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m172 |[0;0m }
[0;36m173 |[0;0m
[0;36m174 |[0;0m @objc public func withDefaults(_ defaults: ObjCDefaultsCollection) -> ObjCFlagManager {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m175 |[0;0m ObjCFlagManager(manager: manager.withDefaults(defaults.defaults))
[0;36m176 |[0;0m }
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:179:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m177 |[0;0m
[0;36m178 |[0;0m /// Reports usage of a flag. Fire-and-forget; honours `enableUsageReporting`.
[0;36m179 |[0;0m @objc public func reportUsage(_ key: String, context: ObjCContext? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m180 |[0;0m manager.reportUsage(key, context: context?.context)
[0;36m181 |[0;0m }
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:183:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m181 |[0;0m }
[0;36m182 |[0;0m
[0;36m183 |[0;0m @objc public func refreshRulesWithCompletion(_ completion: @escaping (NSError?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m184 |[0;0m Task {
[0;36m185 |[0;0m do {
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:194:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m192 |[0;0m }
[0;36m193 |[0;0m
[0;36m194 |[0;0m @objc public func allWithContext(_ context: ObjCContext?, completion: @escaping ([ObjCFlag]?, NSError?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m195 |[0;0m let scopedManager = context.map { manager.withContext($0.context) } ?? manager
[0;36m196 |[0;0m
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:207:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m205 |[0;0m }
[0;36m206 |[0;0m
[0;36m207 |[0;0m @objc public func single(
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m208 |[0;0m _ key: String,
[0;36m209 |[0;0m defaultValue: NSObject? = nil,
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:247:2: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m245 |[0;0m
[0;36m246 |[0;0m /// Objective-C compatible main SDK wrapper.
[0;36m247 |[0;0m @objc(ZMObjCZenmanage)
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m248 |[0;0m public final class ObjCZenmanage: NSObject {
[0;36m249 |[0;0m private let sdk: Zenmanage
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:251:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m249 |[0;0m private let sdk: Zenmanage
[0;36m250 |[0;0m
[0;36m251 |[0;0m @objc public init(
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m252 |[0;0m environmentToken: String,
[0;36m253 |[0;0m cacheTTL: NSNumber = 3600,
/host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift:272:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m270 |[0;0m }
[0;36m271 |[0;0m
[0;36m272 |[0;0m @objc public func flags() -> ObjCFlagManager {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m273 |[0;0m ObjCFlagManager(manager: sdk.flags())
[0;36m274 |[0;0m }
/host/spi-builder-workspace/Sources/Zenmanage/Zenmanage.swift:27: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;36m25 |[0;0m apiEndpoint: URL = URL(string: "https://api.zenmanage.com")!,
[0;36m26 |[0;0m logger: any ZenmanageLogger = NullLogger(),
[0;36m27 |[0;0m urlSession: [4;39mURLSession[0;0m = .shared,
[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;36m28 |[0;0m requestTimeout: TimeInterval = ZenmanageConfiguration.defaultRequestTimeout
[0;36m29 |[0;0m ) throws {
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/Zenmanage/Zenmanage.swift:27:35: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m25 |[0;0m apiEndpoint: URL = URL(string: "https://api.zenmanage.com")!,
[0;36m26 |[0;0m logger: any ZenmanageLogger = NullLogger(),
[0;36m27 |[0;0m urlSession: URLSession = [4;39m.shared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m28 |[0;0m requestTimeout: TimeInterval = ZenmanageConfiguration.defaultRequestTimeout
[0;36m29 |[0;0m ) throws {
/host/spi-builder-workspace/Sources/Zenmanage/Zenmanage.swift:27:35: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m25 |[0;0m apiEndpoint: URL = URL(string: "https://api.zenmanage.com")!,
[0;36m26 |[0;0m logger: any ZenmanageLogger = NullLogger(),
[0;36m27 |[0;0m urlSession: URLSession = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m28 |[0;0m requestTimeout: TimeInterval = ZenmanageConfiguration.defaultRequestTimeout
[0;36m29 |[0;0m ) throws {
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Zenmanage/APIClient.swift /host/spi-builder-workspace/Sources/Zenmanage/Cache.swift /host/spi-builder-workspace/Sources/Zenmanage/Configuration.swift /host/spi-builder-workspace/Sources/Zenmanage/Errors.swift /host/spi-builder-workspace/Sources/Zenmanage/FlagManager.swift /host/spi-builder-workspace/Sources/Zenmanage/Logging.swift /host/spi-builder-workspace/Sources/Zenmanage/Models.swift /host/spi-builder-workspace/Sources/Zenmanage/ObjectiveC.swift /host/spi-builder-workspace/Sources/Zenmanage/RuleEngine.swift /host/spi-builder-workspace/Sources/Zenmanage/Version.swift /host/spi-builder-workspace/Sources/Zenmanage/Zenmanage.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/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 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.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/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.0-RELEASE_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-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -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/ZenmanageSwift.build/Debug-android-aarch64/Zenmanage-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ZenmanageSwift.build/Debug-android-aarch64/Zenmanage-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ZenmanageSwift.build/Debug-android-aarch64/Zenmanage-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Zenmanage -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZenmanageSwift.build/Debug-android-aarch64/Zenmanage-t.build/Objects-normal/aarch64/Zenmanage_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZenmanageSwift.build/Debug-android-aarch64/Zenmanage-t.build/Objects-normal/aarch64/Modules/Zenmanage.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZenmanageSwift.build/Debug-android-aarch64/Zenmanage-t.build/Objects-normal/aarch64/Modules/Zenmanage.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZenmanageSwift.build/Debug-android-aarch64/Zenmanage-t.build/Objects-normal/aarch64/Zenmanage-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZenmanageSwift.build/Debug-android-aarch64/Zenmanage-t.build/Objects-normal/aarch64/Zenmanage-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZenmanageSwift.build/Debug-android-aarch64/Zenmanage-t.build/Objects-normal/aarch64/Zenmanage-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZenmanageSwift.build/Debug-android-aarch64/Zenmanage-t.build/Objects-normal/aarch64/Modules/Zenmanage.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android