The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Apexy, reference 1.7.5 (ad19a3), with Swift 6.4 for Wasm on 22 Sep 2026 08:00:35 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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RedMadRobot/apexy-ios.git
Reference: 1.7.5
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/RedMadRobot/apexy-ios
 * tag               1.7.5      -> FETCH_HEAD
HEAD is now at ad19a37 Merge pull request #46 from onl1ner/feature/explicit-host-trust-evaluation
Cloned https://github.com/RedMadRobot/apexy-ios.git
Revision (git rev-parse @):
ad19a372695ef3191c5fb8e70624cb7439224f4d
SUCCESS checkout https://github.com/RedMadRobot/apexy-ios.git at 1.7.5
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/RedMadRobot/apexy-ios.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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/Alamofire/Alamofire.git
[1/32894] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git (1.89s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.12.2 (2.07s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.12.2
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[55 / 94] Apexy
[56 / 103] Alamofire
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/Apexy/Client.swift:14:10: error: cannot find type 'Progress' in scope
12 |         _ endpoint: T,
13 |         completionHandler: @escaping (APIResult<T.Content>) -> Void
14 |     ) -> Progress where T: Endpoint
   |          `- error: cannot find type 'Progress' in scope
15 |
16 |     /// Upload data to specified endpoint.
/host/spi-builder-workspace/Sources/Apexy/Client.swift:25:10: error: cannot find type 'Progress' in scope
23 |         _ endpoint: T,
24 |         completionHandler: @escaping (APIResult<T.Content>) -> Void
25 |     ) -> Progress where T: UploadEndpoint
   |          `- error: cannot find type 'Progress' in scope
26 | }
27 |
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:22:34: error: cannot find type 'URLRequest' in scope
20 |     /// - Returns: Resource request.
21 |     /// - Throws: Any error creating request.
22 |     func makeRequest() throws -> URLRequest
   |                                  `- error: cannot find type 'URLRequest' in scope
23 |
24 |     /// Obtain new content from response with body.
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:31:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     /// - Returns: A new endpoint content.
30 |     /// - Throws: Any error creating content.
31 |     func content(from response: URLResponse?, with body: Data) throws -> Content
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |     /// Validate 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/Apexy/Endpoint.swift:40:30: error: cannot find type 'URLRequest' in scope
38 |     ///   - data: The response body data.
39 |     /// - Throws: Any response validation error.
40 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws
   |                              `- error: cannot find type 'URLRequest' in scope
41 | }
42 |
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:40:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     ///   - data: The response body data.
39 |     /// - Throws: Any response validation error.
40 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | }
42 |
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/Apexy/Endpoint.swift:44:30: error: cannot find type 'URLRequest' in scope
42 |
43 | public extension Endpoint {
44 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws { }
   |                              `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/Apexy/Endpoint.swift:44:53: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |
43 | public extension Endpoint {
44 |     func validate(_ request: URLRequest?, response: HTTPURLResponse, data: Data?) throws { }
   |                                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
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/Apexy/ResponseObserver.swift:10:38: error: cannot find type 'URLRequest' in scope
 8 | import Foundation
 9 |
10 | public typealias ResponseObserver = (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Void
   |                                      `- error: cannot find type 'URLRequest' in scope
11 |
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:11:58: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol URLRequestBuildable {
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
   |                                                          `- error: cannot find type 'URLRequest' in scope
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:12:47: error: cannot find type 'URLRequest' in scope
10 | public protocol URLRequestBuildable {
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
   |                                               `- error: cannot find type 'URLRequest' in scope
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:13:47: error: cannot find type 'URLRequest' in scope
11 |     func get(_ url: URL, queryItems: [URLQueryItem]?) -> URLRequest
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
   |                                               `- error: cannot find type 'URLRequest' in scope
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
15 |     func delete(_ url: URL) -> URLRequest
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:14:45: error: cannot find type 'URLRequest' in scope
12 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
   |                                             `- error: cannot find type 'URLRequest' in scope
15 |     func delete(_ url: URL) -> URLRequest
16 | }
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:15:32: error: cannot find type 'URLRequest' in scope
13 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest
14 |     func put(_ url: URL, body: HTTPBody) -> URLRequest
15 |     func delete(_ url: URL) -> URLRequest
   |                                `- error: cannot find type 'URLRequest' in scope
16 | }
17 |
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:26:64: error: cannot find type 'URLRequest' in scope
24 |     ///   - queryItems: Request parameters.
25 |     /// - Returns: HTTP GET Request.
26 |     func get(_ url: URL, queryItems: [URLQueryItem]? = nil) -> URLRequest {
   |                                                                `- error: cannot find type 'URLRequest' in scope
27 |         guard let queryItems = queryItems, !queryItems.isEmpty else {
28 |             return URLRequest(url: url)
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:47:47: error: cannot find type 'URLRequest' in scope
45 |     ///   - body: HTTP body.
46 |     /// - Returns: HTTP POST request.
47 |     func post(_ url: URL, body: HTTPBody?) -> URLRequest {
   |                                               `- error: cannot find type 'URLRequest' in scope
48 |         var request = URLRequest(url: url)
49 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:64:47: error: cannot find type 'URLRequest' in scope
62 |     ///   - body: HTTP body.
63 |     /// - Returns: HTTP PATCH request.
64 |     func patch(_ url: URL, body: HTTPBody) -> URLRequest {
   |                                               `- error: cannot find type 'URLRequest' in scope
65 |         var request = post(url, body: body)
66 |         request.httpMethod = "PATCH"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:76:45: error: cannot find type 'URLRequest' in scope
74 |     ///   - body: HTTP body.
75 |     /// - Returns: HTTP PUT request.
76 |     func put(_ url: URL, body: HTTPBody) -> URLRequest {
   |                                             `- error: cannot find type 'URLRequest' in scope
77 |         var request = post(url, body: body)
78 |         request.httpMethod = "PUT"
/host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift:87:32: error: cannot find type 'URLRequest' in scope
85 |     ///   - url: Request URL.
86 |     /// - Returns: HTTP DELETE request.
87 |     func delete(_ url: URL) -> URLRequest {
   |                                `- error: cannot find type 'URLRequest' in scope
88 |         var request = URLRequest(url: url)
89 |         request.httpMethod = "DELETE"
/host/spi-builder-workspace/Sources/Apexy/UploadEndpoint.swift:26:35: error: cannot find type 'URLRequest' in scope
24 |     /// - Returns: Resource request and uploadable data
25 |     /// - Throws: Any error creating request.
26 |     func makeRequest() throws -> (URLRequest, UploadEndpointBody)
   |                                   `- error: cannot find type 'URLRequest' in scope
27 |
28 |     /// Obtain new content from response with body.
/host/spi-builder-workspace/Sources/Apexy/UploadEndpoint.swift:35:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |     /// - Returns: A new endpoint content.
34 |     /// - Throws: Any error creating content.
35 |     func content(from response: URLResponse?, with body: Data) throws -> Content
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 | }
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
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Apexy/APIResult.swift /host/spi-builder-workspace/Sources/Apexy/Client.swift /host/spi-builder-workspace/Sources/Apexy/Clients/CombineClient.swift /host/spi-builder-workspace/Sources/Apexy/Clients/ConcurrencyClient.swift /host/spi-builder-workspace/Sources/Apexy/Endpoint.swift /host/spi-builder-workspace/Sources/Apexy/HTTPBody.swift /host/spi-builder-workspace/Sources/Apexy/ResponseObserver.swift /host/spi-builder-workspace/Sources/Apexy/URLRequestBuildable.swift /host/spi-builder-workspace/Sources/Apexy/UploadEndpoint.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 /usr/lib/swift/host/plugins/testing\#/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_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Apexy.build/Debug-webassembly-wasm32/Apexy-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Apexy.build/Debug-webassembly-wasm32/Apexy-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Apexy.build/Debug-webassembly-wasm32/Apexy-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Apexy -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Apexy.build/Debug-webassembly-wasm32/Apexy-t.build/Objects-normal/wasm32/Apexy_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Apexy.build/Debug-webassembly-wasm32/Apexy-t.build/Objects-normal/wasm32/Modules/Apexy.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Apexy.build/Debug-webassembly-wasm32/Apexy-t.build/Objects-normal/wasm32/Modules/Apexy.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Apexy.build/Debug-webassembly-wasm32/Apexy-t.build/Objects-normal/wasm32/Apexy-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Apexy.build/Debug-webassembly-wasm32/Apexy-t.build/Objects-normal/wasm32/Apexy-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Apexy.build/Debug-webassembly-wasm32/Apexy-t.build/Objects-normal/wasm32/Apexy-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Apexy.build/Debug-webassembly-wasm32/Apexy-t.build/Objects-normal/wasm32/Modules/Apexy.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm