The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VIZ, reference master (daa745), with Swift 6.4 for Linux on 13 Oct 2026 09:50:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/viz-blockchain/viz-swift-lib.git
Reference: master
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/viz-blockchain/viz-swift-lib
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at daa7454 Merge pull request #4 from VIZ-Blockchain/feat/prediction-market-ops
Cloned https://github.com/viz-blockchain/viz-swift-lib.git
Revision (git rev-parse @):
daa7454aa9d12a39b12453b5198d61b3b6d577ca
SUCCESS checkout https://github.com/viz-blockchain/viz-swift-lib.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/viz-blockchain/viz-swift-lib.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/greymass/secp256k1.git
[1/7003] Fetching secp256k1
Fetched https://github.com/greymass/secp256k1.git (0.83s)
Fetching https://github.com/lukaskubanek/OrderedDictionary.git
[17/1700] Fetching ordereddictionary
Fetched https://github.com/lukaskubanek/OrderedDictionary.git (0.57s)
Computing version for https://github.com/lukaskubanek/OrderedDictionary.git
Computed https://github.com/lukaskubanek/OrderedDictionary.git at 4.0.2 (0.74s)
Creating working copy for https://github.com/greymass/secp256k1.git
Working copy of https://github.com/greymass/secp256k1.git resolved at f5babfbb95166ac3bca64b09adefc0dcda0b5c52
Creating working copy for https://github.com/lukaskubanek/OrderedDictionary.git
Working copy of https://github.com/lukaskubanek/OrderedDictionary.git resolved at 4.0.2
Building for debugging...
[Computing dependencies]
[Planning 1 / 157]
[Starting]
[42 / 62] OrderedDictionary
[46 / 62] Crypto
[52 / 63] Crypto
[54 / 72] VIZ
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/VIZ/Client.swift:174:28: error: cannot find type 'URLRequest' in scope
172 | /// URLSession adapter, for testability.
173 | public protocol SessionAdapter: Sendable {
174 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                            `- error: cannot find type 'URLRequest' in scope
175 | }
176 |
/host/spi-builder-workspace/Sources/VIZ/Client.swift:174:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 | /// URLSession adapter, for testability.
173 | public protocol SessionAdapter: Sendable {
174 |     func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
175 | }
176 |
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/VIZ/Client.swift:178:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
176 |
177 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
178 | extension URLSession: SessionAdapter {}
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
179 |
180 |
/host/spi-builder-workspace/Sources/VIZ/Client.swift:220:68: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
218 |     /// - Parameter session: The session to use when sending requests to the server.
219 |     @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
220 |     public init(address: URL, session: SessionAdapter = URLSession.shared, fixedId: Int? = nil) {
    |                                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
221 |         self.address = address
222 |         self.session = session as SessionAdapter
/host/spi-builder-workspace/Sources/VIZ/Client.swift:235:84: error: cannot find type 'URLRequest' in scope
233 |
234 |     /// Return a URLRequest for a JSON-RPC 2.0 request payload.
235 |     internal func urlRequest<T: Request>(for payload: RequestPayload<T>) throws -> URLRequest {
    |                                                                                    `- error: cannot find type 'URLRequest' in scope
236 |         let encoder = Client.JSONEncoder()
237 |         var urlRequest = URLRequest(url: self.address)
/host/spi-builder-workspace/Sources/VIZ/Client.swift:246:102: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 |
245 |     /// Resolve a URLSession dataTask to a `Response`.
246 |     internal func resolveResponse<T: Request>(for payload: RequestPayload<T>, data: Data?, response: URLResponse?) throws -> T.Response? {
    |                                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
247 |         guard let response = response else {
248 |             throw Error.networkError(message: "No response from server", error: nil)
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
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/VIZ/API.swift /host/spi-builder-workspace/Sources/VIZ/Asset.swift /host/spi-builder-workspace/Sources/VIZ/Authority.swift /host/spi-builder-workspace/Sources/VIZ/Block.swift /host/spi-builder-workspace/Sources/VIZ/ChainId.swift /host/spi-builder-workspace/Sources/VIZ/Client.swift /host/spi-builder-workspace/Sources/VIZ/Extensions/AnyEncodable.swift /host/spi-builder-workspace/Sources/VIZ/Extensions/Data+Base58Encoding.swift /host/spi-builder-workspace/Sources/VIZ/Extensions/Data+RIPEMD160.swift /host/spi-builder-workspace/Sources/VIZ/Extensions/Data+Random.swift /host/spi-builder-workspace/Sources/VIZ/Extensions/Data+SHA2.swift /host/spi-builder-workspace/Sources/VIZ/Extensions/Pointers+Convenience.swift /host/spi-builder-workspace/Sources/VIZ/Hex.swift /host/spi-builder-workspace/Sources/VIZ/Misc.swift /host/spi-builder-workspace/Sources/VIZ/Operation.swift /host/spi-builder-workspace/Sources/VIZ/PrivateKey.swift /host/spi-builder-workspace/Sources/VIZ/PublicKey.swift /host/spi-builder-workspace/Sources/VIZ/Secp256k1.swift /host/spi-builder-workspace/Sources/VIZ/Signature.swift /host/spi-builder-workspace/Sources/VIZ/Transaction.swift /host/spi-builder-workspace/Sources/VIZ/VIZEncoder.swift /host/spi-builder-workspace/Sources/VIZ/VIZURL.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/secp256k1gm.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/Crypto.modulemap -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/checkouts/secp256k1/include -Xcc -I/host/spi-builder-workspace/Sources/Crypto/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/VIZ.build/Debug-linux-x86_64/VIZ-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/VIZ.build/Debug-linux-x86_64/VIZ-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/VIZ.build/Debug-linux-x86_64/VIZ-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name VIZ -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/VIZ.build/Debug-linux-x86_64/VIZ-t.build/Objects-normal/x86_64/VIZ_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/VIZ.build/Debug-linux-x86_64/VIZ-t.build/Objects-normal/x86_64/Modules/VIZ.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/VIZ.build/Debug-linux-x86_64/VIZ-t.build/Objects-normal/x86_64/M[55 / 72] secp256k1gm
odules/VIZ.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/VIZ.build/Debug-linux-x86_64/VIZ-t.build/Objects-normal/x86_64/VIZ-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/VIZ.build/Debug-linux-x86_64/VIZ-t.build/Objects-normal/x86_64/VIZ-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/VIZ.build/Debug-linux-x86_64/VIZ-t.build/Objects-normal/x86_64/VIZ-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/VIZ.build/Debug-linux-x86_64/VIZ-t.build/Objects-normal/x86_64/Modules/VIZ.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux