The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GemmeinSwift, reference 0.23.0 (087a61), with Swift 6.4 for Linux on 27 Oct 2026 21:58:05 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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gemmeinhq/gemmein-swift.git
Reference: 0.23.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/gemmeinhq/gemmein-swift
 * tag               0.23.0     -> FETCH_HEAD
HEAD is now at 087a61c GemmeinSwift 0.23.0
Cloned https://github.com/gemmeinhq/gemmein-swift.git
Revision (git rev-parse @):
087a61cc488461364743903659e544e66ecd91cd
SUCCESS checkout https://github.com/gemmeinhq/gemmein-swift.git at 0.23.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/gemmeinhq/gemmein-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ad3afec1d6cff9a88dbd06b5b923cd7d46d6f55cc44d4c49fe48cde94ee812a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/GemmeinSwift/AiClient.swift:11:30: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
  9 |     enum Body {
 10 |         case buffered(Data)
 11 |         case live(URLSession.AsyncBytes)
    |                              `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 12 |     }
 13 |
/host/spi-builder-workspace/Sources/GemmeinSwift/Gemmein.swift:55:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |         tokenStore: TokenStore? = nil,
 54 |         platform: String? = nil,
 55 |         session: URLSession = .shared
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |     ) throws {
 57 |         if appKey.hasPrefix("sk_") {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GemmeinSwift/Gemmein.swift:55:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 53 |         tokenStore: TokenStore? = nil,
 54 |         platform: String? = nil,
 55 |         session: URLSession = .shared
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 56 |     ) throws {
 57 |         if appKey.hasPrefix("sk_") {
/host/spi-builder-workspace/Sources/GemmeinSwift/Gemmein.swift:55:32: error: value of type '_' expected to be instance of class or class-constrained type
 53 |         tokenStore: TokenStore? = nil,
 54 |         platform: String? = nil,
 55 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 56 |     ) throws {
 57 |         if appKey.hasPrefix("sk_") {
/host/spi-builder-workspace/Sources/GemmeinSwift/GemmeinServer.swift:15:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     private let apiURL: URL
 14 |     private let secretKey: String
 15 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     /// E2E #3 F20: present when the app named what it expects of the key.
 17 |     private let keyCheck: KeyCheck?
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GemmeinSwift/GemmeinServer.swift:24:74: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |     /// and `extra`) and no call is made — the same check the JS SDK's
 23 |     /// `gemmeinServer(sk, { expects })` makes. Nil: nothing is checked.
 24 |     public init(secretKey: String, apiURL: URL = defaultAPIURL, session: URLSession = .shared, expects: KeyExpectations? = nil) throws {
    |                                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |         // Same signpost law as the client: a missing key (the env var didn't
 26 |         // load) must be a typed error, never a crash.
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GemmeinSwift/GemmeinServer.swift:24:88: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 22 |     /// and `extra`) and no call is made — the same check the JS SDK's
 23 |     /// `gemmeinServer(sk, { expects })` makes. Nil: nothing is checked.
 24 |     public init(secretKey: String, apiURL: URL = defaultAPIURL, session: URLSession = .shared, expects: KeyExpectations? = nil) throws {
    |                                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 25 |         // Same signpost law as the client: a missing key (the env var didn't
 26 |         // load) must be a typed error, never a crash.
/host/spi-builder-workspace/Sources/GemmeinSwift/GemmeinServer.swift:24:88: error: value of type '_' expected to be instance of class or class-constrained type
 22 |     /// and `extra`) and no call is made — the same check the JS SDK's
 23 |     /// `gemmeinServer(sk, { expects })` makes. Nil: nothing is checked.
 24 |     public init(secretKey: String, apiURL: URL = defaultAPIURL, session: URLSession = .shared, expects: KeyExpectations? = nil) throws {
    |                                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 25 |         // Same signpost law as the client: a missing key (the env var didn't
 26 |         // load) must be a typed error, never a crash.
/host/spi-builder-workspace/Sources/GemmeinSwift/GemmeinServer.swift:315:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
313 |     private let secretKey: String
314 |     private let name: String
315 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
316 |     private let keyCheck: KeyCheck?
317 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GemmeinSwift/GemmeinServer.swift:318:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
316 |     private let keyCheck: KeyCheck?
317 |
318 |     init(apiURL: URL, secretKey: String, name: String, session: URLSession, keyCheck: KeyCheck? = nil) {
    |                                                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
319 |         self.apiURL = apiURL
320 |         self.secretKey = secretKey
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GemmeinSwift/GemmeinServer.swift:507:58: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
505 |     private var reads: [String: Task<[String: JSONValue]?, Error>] = [:]
506 |
507 |     func access(apiURL: URL, secretKey: String, session: URLSession) async throws -> [String: JSONValue]? {
    |                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
508 |         let key = "\(apiURL.absoluteString)\u{0}\(secretKey)"
509 |         if let existing = reads[key] { return try await existing.value }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GemmeinSwift/GemmeinServer.swift:527:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
525 |     private let apiURL: URL
526 |     private let secretKey: String
527 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
528 |     private var passed = false
529 |     private var refused: GemmeinError?
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GemmeinSwift/GemmeinServer.swift:531:77: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
529 |     private var refused: GemmeinError?
530 |
531 |     init(expects: KeyExpectations, apiURL: URL, secretKey: String, session: URLSession) {
    |                                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
532 |         self.expects = expects
533 |         self.apiURL = apiURL
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GemmeinSwift/Transport.swift:90:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 88 |     let tokenStore: TokenStore
 89 |     let clientInfo: String
 90 |     let session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |     /// F34 (b): the listeners `auth.onSignedOut` registers — one set per
 92 |     /// client, shared by every sub-client, so a 401 anywhere reaches them.
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/GemmeinSwift/Transport.swift:127:89: error: cannot find type 'URLRequest' in scope
125 | }
126 |
127 | func makeRequest(_ url: URL, method: String, headers: [String: String], body: Data?) -> URLRequest {
    |                                                                                         `- error: cannot find type 'URLRequest' in scope
128 |     var request = URLRequest(url: url)
129 |     request.httpMethod = method
/host/spi-builder-workspace/Sources/GemmeinSwift/Transport.swift:171:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | /// 204 answers with no bytes; anything else with the body. A refusal throws
170 | /// the server's own `code` and sentence.
171 | func handleResponse(_ data: Data, _ response: URLResponse, _ config: ClientConfig?) async throws -> JSONValue? {
    |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |     let status = (response as? HTTPURLResponse)?.statusCode ?? 0
173 |     if status == 204 { return 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
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/GemmeinSwift/AiClient.swift /host/spi-builder-workspace/Sources/GemmeinSwift/AuthClient.swift /host/spi-builder-workspace/Sources/GemmeinSwift/CirclesClient.swift /host/spi-builder-workspace/Sources/GemmeinSwift/CollectionClient.swift /host/spi-builder-workspace/Sources/GemmeinSwift/Gemmein.swift /host/spi-builder-workspace/Sources/GemmeinSwift/GemmeinError.swift /host/spi-builder-workspace/Sources/GemmeinSwift/GemmeinServer.swift /host/spi-builder-workspace/Sources/GemmeinSwift/JSONValue.swift /host/spi-builder-workspace/Sources/GemmeinSwift/Models.swift /host/spi-builder-workspace/Sources/GemmeinSwift/PeopleClient.swift /host/spi-builder-workspace/Sources/GemmeinSwift/PrimitiveClients.swift /host/spi-builder-workspace/Sources/GemmeinSwift/RunsClient.swift /host/spi-builder-workspace/Sources/GemmeinSwift/TokenStore.swift /host/spi-builder-workspace/Sources/GemmeinSwift/Transport.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 -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GemmeinSwift.build/Debug-linux-x86_64/GemmeinSwift-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GemmeinSwift.build/Debug-linux-x86_64/GemmeinSwift-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GemmeinSwift.build/Debug-linux-x86_64/GemmeinSwift-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name GemmeinSwift -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/GemmeinSwift.build/Debug-linux-x86_64/GemmeinSwift-t.build/Objects-normal/x86_64/GemmeinSwift_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/GemmeinSwift.build/Debug-linux-x86_64/GemmeinSwift-t.build/Objects-normal/x86_64/Modules/GemmeinSwift.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GemmeinSwift.build/Debug-linux-x86_64/GemmeinSwift-t.build/Objects-normal/x86_64/Modules/GemmeinSwift.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GemmeinSwift.build/Debug-linux-x86_64/GemmeinSwift-t.build/Objects-normal/x86_64/GemmeinSwift-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GemmeinSwift.build/Debug-linux-x86_64/GemmeinSwift-t.build/Objects-normal/x86_64/GemmeinSwift-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GemmeinSwift.build/Debug-linux-x86_64/GemmeinSwift-t.build/Objects-normal/x86_64/GemmeinSwift-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/GemmeinSwift.build/Debug-linux-x86_64/GemmeinSwift-t.build/Objects-normal/x86_64/Modules/GemmeinSwift.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux