The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SimpleMDM-Swift, reference 0.10.0 (f5557f), with Swift 6.4 for Android on 18 Sep 2026 09:04:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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/guillaumealgis/SimpleMDM-Swift.git
Reference: 0.10.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/guillaumealgis/SimpleMDM-Swift
 * tag               0.10.0     -> FETCH_HEAD
HEAD is now at f5557fb Bump version 0.9.0 -> 0.10.0
Cloned https://github.com/guillaumealgis/SimpleMDM-Swift.git
Revision (git rev-parse @):
f5557fb43306c33e2537aec76d35c47ca97b607d
SUCCESS checkout https://github.com/guillaumealgis/SimpleMDM-Swift.git at 0.10.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/guillaumealgis/SimpleMDM-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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/mxcl/PromiseKit.git
[1/17244] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git (0.94s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (1.14s)
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.22.1
Building for debugging...
[Pre-planning 1 / 96]
[34 / 49] PromiseKit
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/URLSession.swift:12:33: error: cannot find type 'URLRequest' in scope
10 | /// Internal protocol used to make the networking part of the library easier to inject.
11 | internal protocol URLSessionProtocol {
12 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                 `- error: cannot find type 'URLRequest' in scope
13 | }
14 |
/host/spi-builder-workspace/Sources/Networking.swift:168:62: error: cannot find type 'URLRequest' in scope
166 |     // MARK: - Building the URLRequest
167 |
168 |     private func buildURLRequest(withURL url: URL) throws -> URLRequest {
    |                                                              `- error: cannot find type 'URLRequest' in scope
169 |         var urlRequest = URLRequest(url: url)
170 |
/host/spi-builder-workspace/Sources/Networking.swift:206:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
204 |     }
205 |
206 |     private func handleResponse(_ httpResponse: HTTPURLResponse, data: Data) -> NetworkingResult {
    |                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
207 |         guard let mimeType = httpResponse.mimeType, mimeType == "application/json" else {
208 |             return .failure(NetworkError.unexpectedMimeType(httpResponse.mimeType))
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Relationship.swift:251:17: warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
249 |     ///   - index: The index of the resource to fetch in the collection.
250 |     ///   - completion: A completion handler called with the fetched resource, or an error.
251 |     public func get(id: Element.ID, completion: @escaping (Result<Element>) -> Void) {
    |                 `- warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
252 |         get(SimpleMDM.shared.networking, id: id, completion: completion)
253 |     }
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Resolver.swift:97:13: note: generic enum declared here
 95 | #endif
 96 |
 97 | public enum Result<T> {
    |             `- note: generic enum declared here
 98 |     case fulfilled(T)
 99 |     case rejected(Error)
/host/spi-builder-workspace/Sources/Resources/Resource.swift:9:18: warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
  7 |
  8 | /// A completion clusure used to return a Result type asynchronously.
  9 | public typealias CompletionClosure<Value> = (Result<Value>) -> Void
    |                  `- warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
 10 |
 11 | /// A protocol adopted by all resources types of the library.
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Resolver.swift:97:13: note: generic enum declared here
 95 | #endif
 96 |
 97 | public enum Result<T> {
    |             `- note: generic enum declared here
 98 |     case fulfilled(T)
 99 |     case rejected(Error)
/host/spi-builder-workspace/Sources/URLSession.swift:12:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | /// Internal protocol used to make the networking part of the library easier to inject.
11 | internal protocol URLSessionProtocol {
12 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
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/URLSession.swift:15:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
13 | }
14 |
15 | extension URLSession: URLSessionProtocol {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
16 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol {
17 |         let task: URLSessionDataTask = dataTask(with: request, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/URLSession.swift:29:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
27 | }
28 |
29 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
30 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Cursor.swift /host/spi-builder-workspace/Sources/Decoding.swift /host/spi-builder-workspace/Sources/Error.swift /host/spi-builder-workspace/Sources/Extensions/SimpleMDM+PromiseKit.swift /host/spi-builder-workspace/Sources/FieldTypes/Version.swift /host/spi-builder-workspace/Sources/Networking.swift /host/spi-builder-workspace/Sources/Payload.swift /host/spi-builder-workspace/Sources/Relationship.swift /host/spi-builder-workspace/Sources/Resources/Account.swift /host/spi-builder-workspace/Sources/Resources/App.swift /host/spi-builder-workspace/Sources/Resources/AppGroup.swift /host/spi-builder-workspace/Sources/Resources/CustomAttribute.swift /host/spi-builder-workspace/Sources/Resources/CustomAttributeValue.swift /host/spi-builder-workspace/Sources/Resources/CustomConfigurationProfile.swift /host/spi-builder-workspace/Sources/Resources/Device.swift /host/spi-builder-workspace/Sources/Resources/DeviceGroup.swift /host/spi-builder-workspace/Sources/Resources/InstalledApp.swift /host/spi-builder-workspace/Sources/Resources/ManagedConfig.swift /host/spi-builder-workspace/Sources/Resources/PushCertificate.swift /host/spi-builder-workspace/Sources/Resources/Resource.generated.swift /host/spi-builder-workspace/Sources/Resources/Resource.swift /host/spi-builder-workspace/Sources/SimpleMDM.swift /host/spi-builder-workspace/Sources/URL+CustomInit.swift /host/spi-builder-workspace/Sources/URLSession.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 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleMDM-Swift.build/Debug-android-aarch64/SimpleMDM-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleMDM-Swift.build/Debug-android-aarch64/SimpleMDM-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleMDM-Swift.build/Debug-android-aarch64/SimpleMDM-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SimpleMDM -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleMDM-Swift.build/Debug-android-aarch64/SimpleMDM-t.build/Objects-normal/aarch64/SimpleMDM_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/SimpleMDM-Swift.build/Debug-android-aarch64/SimpleMDM-t.build/Objects-normal/aarch64/Modules/SimpleMDM.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleMDM-Swift.build/Debug-android-aarch64/SimpleMDM-t.build/Objects-normal/aarch64/Modules/SimpleMDM.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleMDM-Swift.build/Debug-android-aarch64/SimpleMDM-t.build/Objects-normal/aarch64/SimpleMDM-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleMDM-Swift.build/Debug-android-aarch64/SimpleMDM-t.build/Objects-normal/aarch64/SimpleMDM-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleMDM-Swift.build/Debug-android-aarch64/SimpleMDM-t.build/Objects-normal/aarch64/SimpleMDM-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleMDM-Swift.build/Debug-android-aarch64/SimpleMDM-t.build/Objects-normal/aarch64/Modules/SimpleMDM.swiftmodule
[42 / 59] SimpleMDM
error: Build failed
BUILD FAILURE 6.4 android