The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GitLabKit, reference main (e47925), with Swift 6.4 for Linux on 28 Nov 2026 02:20:11 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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/laconicman/swift-gitlab.git
Reference: main
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/laconicman/swift-gitlab
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e47925c Merge pull request #7 from laconicman/docs/upstream-mr-274692
Cloned https://github.com/laconicman/swift-gitlab.git
Revision (git rev-parse @):
e47925c654b7e8aff2302a7656ca3dabe6a56f20
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/laconicman/swift-gitlab.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/laconicman/swift-gitlab.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:24b3a70409a49491a0b3da00df2e0ea9248eeb65e7d70f4700c30d1c09457b82
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/laconicman/OSLogLoggingMiddleware
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-openapi-urlsession
Fetching https://github.com/apple/swift-openapi-generator
[1/100] Fetching oslogloggingmiddleware
Fetched https://github.com/laconicman/OSLogLoggingMiddleware (0.39s)
[1/11910] Fetching yams
[2/13170] Fetching yams, swift-openapi-urlsession
[3/20526] Fetching yams, swift-openapi-urlsession, swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-urlsession (0.59s)
Fetched https://github.com/apple/swift-openapi-runtime (0.59s)
[5955/11910] Fetching yams
[6314/31070] Fetching yams, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-generator (0.97s)
Fetching https://github.com/apple/swift-docc-plugin
Fetched https://github.com/jpsim/Yams (1.00s)
[1/2407] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.50s)
Computing version for https://github.com/laconicman/OSLogLoggingMiddleware
Computed https://github.com/laconicman/OSLogLoggingMiddleware at 1.1.1 (1.63s)
Fetching https://github.com/apple/swift-http-types
[1/1990] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.39s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.54s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.4.0 (0.91s)
Fetching https://github.com/apple/swift-collections
[1/30565] Fetching swift-collections
Fetched https://github.com/apple/swift-collections (1.27s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.13.4 (1.42s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.17s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.88s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3871] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.57s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.77s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.6 (0.23s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.14.4 (0.20s)
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
[1/6208] Fetching swift-algorithms
[6209/25674] Fetching swift-algorithms, swift-argument-parser
[25675/212109] Fetching swift-algorithms, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-algorithms (5.96s)
Fetched https://github.com/apple/swift-argument-parser (5.96s)
Fetched https://github.com/mattpolzin/OpenAPIKit (6.02s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (6.19s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.53s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (0.69s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.14s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-openapi-generator
Working copy of https://github.com/apple/swift-openapi-generator resolved at 1.14.4
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.4.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-openapi-urlsession
Working copy of https://github.com/apple/swift-openapi-urlsession resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.13.4
Creating working copy for https://github.com/laconicman/OSLogLoggingMiddleware
Working copy of https://github.com/laconicman/OSLogLoggingMiddleware resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 776]
[Planning deferred tasks]
[150 / 297] _NumericsShims
[161 / 345] RealModule
[165 / 345] RealModule
[174 / 345] InternalCollectionsUtilities
[176 / 345] InternalCollectionsUtilities
[193 / 345] Yams
[194 / 345] Yams
[200 / 345] Yams
[203 / 345] gitlab-spec-tool-product
[204 / 345] gitlab-spec-tool-product
[205 / 345] RealModule-product
[209 / 346] RealModule
[211 / 346] RealModule
[214 / 346] OpenAPIKitCore
[217 / 346] OpenAPIKit30
[220 / 347] Yams
[225 / 347] SpanPreview
[226 / 347] SpanPreview
[231 / 348] HTTPTypes-product
[235 / 348] OpenAPIRuntime
[237 / 349] InternalCollectionsUtilities
[242 / 354] OpenAPIKitCore
[248 / 360] OpenAPIKit
[259 / 387] OpenAPIKit
[265 / 389] SpanPreview
[267 / 390] SpanPreview
[268 / 391] OpenAPIKit30
[276 / 391] gitlab-spec-tool-product
[278 / 391] OpenAPIRuntime
[287 / 391] OpenAPIKit
[292 / 391] OpenAPIRuntime
[293 / 391] OpenAPIRuntime-product
[294 / 391] OpenAPIKit30-product
[295 / 391] OpenAPIKit30-product
[297 / 391] OpenAPIKit30
[299 / 391] OpenAPIKit30
[301 / 392] OpenAPIKit
[302 / 392] OpenAPIRuntime
[303 / 392] OpenAPIKit30
[304 / 392] OpenAPIKitCompat
[307 / 392] OpenAPIKit
[307 / 393] OpenAPIKit
[314 / 393] HTTPTypes
[318 / 404] Algorithms
[320 / 413] ArgumentParser
[321 / 413] ArgumentParser
[322 / 413] ArgumentParser
[324 / 413] ArgumentParser
[326 / 413] ArgumentParser
[330 / 413] ArgumentParser
[331 / 413] ArgumentParser-product
[334 / 413] Algorithms
[336 / 413] Algorithms
[340 / 413] Algorithms
[342 / 413] ArgumentParser
[343 / 413] Algorithms-product
[344 / 413] Algorithms-product
[347 / 414]
[347 / 414] Algorithms
[349 / 417] OpenAPIKitCompat
[352 / 421] Yams
[355 / 421] Yams
[361 / 421] Algorithms
[362 / 421] OSLogLoggingMiddleware
[371 / 425] OpenAPIKitCompat
[382 / 427] OpenAPIKitCompat
[384 / 427] DequeModule
[384 / 427] _OpenAPIGeneratorCore
[393 / 445] OpenAPIKitCompat
[397 / 445] _OpenAPIGeneratorCore
[398 / 445] _OpenAPIGeneratorCore
[399 / 445] _OpenAPIGeneratorCore
[400 / 445] _OpenAPIGeneratorCore
[402 / 445] _OpenAPIGeneratorCore
[407 / 445] swift-openapi-generator-product
[414 / 446] OpenAPIKitCompat
[416 / 455] swift-openapi-generator-product
[419 / 455] swift-openapi-generator-product
[421 / 455] swift-openapi-generator-product
[423 / 456] DequeModule
[425 / 456] DequeModule
[428 / 457] OpenAPIURLSession
[433 / 464] OpenAPIURLSession
[435 / 464] OpenAPIURLSession
[438 / 465] swift-openapi-generator-product
[443 / 465] _OpenAPIGeneratorCore
[443 / 465] OpenAPIURLSession
[446 / 466] _OpenAPIGeneratorCore
[449 / 467] _OpenAPIGeneratorCore
[450 / 467] swift-openapi-generator-product
[451 / 467] GitLabOpenAPI
Swift OpenAPI Generator is running with the following configuration:
- OpenAPI document path: /host/spi-builder-workspace/Sources/GitLabOpenAPI/openapi.yaml
- Configuration path: /host/spi-builder-workspace/Sources/GitLabOpenAPI/openapi-generator-config.yaml
- Generator modes: types, client
- Access modifier: public
- Naming strategy: idiomatic
- Name overrides: <none>
- Type overrides: <none>
- Feature flags: <none>
- Output file names: Types.swift, Types+Components.swift, Types+Operations.swift, Types+Components+Schemas.swift, Types+Components+Parameters.swift, Types+Components+RequestBodies.swift, Types+Components+Responses.swift, Types+Components+Headers.swift, Client.swift
- Output directory: /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources
- Diagnostics output path: <none - logs to stderr>
- Current directory: /host/spi-builder-workspace
- Plugin source: build
- Is dry run: false
- Additional imports: <none>
- Additional file comments: swiftlint:disable allWriting data to file Client.swift...
Writing data to file Types.swift...
Writing data to file Types+Components.swift...
Writing data to file Types+Operations.swift...
Writing data to file Types+Components+Schemas.swift...
Writing data to file Types+Components+Parameters.swift...
Writing data to file Types+Components+RequestBodies.swift...
Writing data to file Types+Components+Responses.swift...
Writing data to file Types+Components+Headers.swift...
Writing data to file Server.swift...
[461 / 477] GitLabOpenAPI
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/GitLabKit/GitLabClient.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile GitLabClient.swift
/host/spi-builder-workspace/Sources/GitLabKit/GitLabClient.swift:29:28: error: cannot find type 'BodyLoggingPolicy' in scope
27 |         token: String,
28 |         hostname: String = "gitlab.com",
29 |         bodyLoggingPolicy: BodyLoggingPolicy = .never,
   |                            `- error: cannot find type 'BodyLoggingPolicy' in scope
30 |         session: URLSession? = nil
31 |     ) throws {
/host/spi-builder-workspace/Sources/GitLabKit/GitLabClient.swift:30:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         hostname: String = "gitlab.com",
29 |         bodyLoggingPolicy: BodyLoggingPolicy = .never,
30 |         session: URLSession? = nil
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     ) throws {
32 |         try self.init(
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/GitLabKit/GitLabClient.swift:66:28: error: cannot find type 'BodyLoggingPolicy' in scope
64 |         token: String,
65 |         serverURL: URL,
66 |         bodyLoggingPolicy: BodyLoggingPolicy = .never,
   |                            `- error: cannot find type 'BodyLoggingPolicy' in scope
67 |         session: URLSession? = nil
68 |     ) {
/host/spi-builder-workspace/Sources/GitLabKit/GitLabClient.swift:67:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |         serverURL: URL,
66 |         bodyLoggingPolicy: BodyLoggingPolicy = .never,
67 |         session: URLSession? = nil
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 |     ) {
69 |         self.init(
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/GitLabKit/GitLabClient.swift:83:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 |     /// (proxy-aware configurations, pinned delegates, test doubles). Internal — the test
82 |     /// target asserts the session actually lands on the transport.
83 |     static func makeTransport(session: URLSession?) -> URLSessionTransport {
   |                                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 |         guard let session else { return URLSessionTransport() }
85 |         return URLSessionTransport(configuration: .init(session: session))
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/GitLabKit/GitLabClient.swift:38:17: error: cannot call value of non-function type 'module<OSLogLoggingMiddleware>'
36 |             middlewares: [
37 |                 HeaderMiddleware(bearerToken: token),
38 |                 OSLogLoggingMiddleware(bodyLoggingConfiguration: bodyLoggingPolicy),
   |                 `- error: cannot call value of non-function type 'module<OSLogLoggingMiddleware>'
39 |             ]
40 |         )
/host/spi-builder-workspace/Sources/GitLabKit/GitLabClient.swift:75:17: error: cannot call value of non-function type 'module<OSLogLoggingMiddleware>'
73 |             middlewares: [
74 |                 HeaderMiddleware(bearerToken: token),
75 |                 OSLogLoggingMiddleware(bodyLoggingConfiguration: bodyLoggingPolicy),
   |                 `- error: cannot call value of non-function type 'module<OSLogLoggingMiddleware>'
76 |             ]
77 |         )
/host/spi-builder-workspace/Sources/GitLabKit/GitLabClient.swift:85:66: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
83 |     static func makeTransport(session: URLSession?) -> URLSessionTransport {
84 |         guard let session else { return URLSessionTransport() }
85 |         return URLSessionTransport(configuration: .init(session: session))
   |                                                                  |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
   |                                                                  `- note: did you mean to use 'as!' to force downcast?
86 |     }
87 | }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/GitLabKit/GitLabClient.swift /host/spi-builder-workspace/Sources/GitLabKit/GitLabDateTranscoder.swift /host/spi-builder-workspace/Sources/GitLabKit/HeaderMiddleware.swift /host/spi-builder-workspace/Sources/GitLabKit/Types+Identifiable.generated.swift /host/spi-builder-workspace/Sources/GitLabKit/Types+examples.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitLabKit.build/Debug-linux-x86_64/GitLabKit-t.build/Objects-normal/x86_64/GitLabClient.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitLabKit.build/Debug-linux-x86_64/GitLabKit-t.build/Objects-normal/x86_64/GitLabClient.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitLabKit.build/Debug-linux-x86_64/GitLabKit-t.build/Objects-normal/x86_64/GitLabClient.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitLabKit.build/Debug-linux-x86_64/GitLabKit-t.build/Objects-normal/x86_64/GitLabClient.dia -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 6 -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/GitLabKit.build/Debug-linux-x86_64/GitLabKit-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GitLabKit.build/Debug-linux-x86_64/GitLabKit-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/GitLabKit.build/Debug-linux-x86_64/GitLabKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name GitLabKit -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitLabKit.build/Debug-linux-x86_64/GitLabKit-t.build/Objects-normal/x86_64/GitLabKit_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/GitLabKit.build/Debug-linux-x86_64/GitLabKit-t.build/Objects-normal/x86_64/GitLabClient.o -index-unit-output-path /GitLabKit.build/Debug-linux-x86_64/GitLabKit-t.build/Objects-normal/x86_64/GitLabClient.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux