The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GitLabKit, reference main (d70d2d), with Swift 6.4 for Linux on 26 Sep 2026 00:39:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.0
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 d70d2db doc: badge the README for DeepWiki, so refreshes stop being manual
Cloned https://github.com/laconicman/swift-gitlab.git
Revision (git rev-parse @):
d70d2dbf4020cba76136345b1ab65703a0380a4b
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-54344844-2":/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:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-openapi-generator
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/laconicman/OSLogLoggingMiddleware
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-openapi-urlsession
Fetching https://github.com/jpsim/Yams
[1/1183] Fetching swift-openapi-urlsession
[2/3528] Fetching swift-openapi-urlsession, swift-docc-plugin
[390/3567] Fetching swift-openapi-urlsession, swift-docc-plugin, oslogloggingmiddleware
Fetched https://github.com/apple/swift-openapi-urlsession (0.46s)
[275/9312] Fetching swift-docc-plugin, oslogloggingmiddleware, swift-openapi-runtime
Fetched https://github.com/laconicman/OSLogLoggingMiddleware (0.57s)
Fetched https://github.com/apple/swift-docc-plugin (0.57s)
Fetched https://github.com/apple/swift-openapi-runtime (0.60s)
[1/11861] Fetching yams
[357/30268] Fetching yams, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-generator (0.95s)
[9015/11861] Fetching yams
Fetched https://github.com/jpsim/Yams (1.13s)
Computing version for https://github.com/laconicman/OSLogLoggingMiddleware
Computed https://github.com/laconicman/OSLogLoggingMiddleware at 1.1.0 (1.31s)
Fetching https://github.com/apple/swift-http-types
[1/1939] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.45s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.61s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.3.1 (1.13s)
Fetching https://github.com/apple/swift-collections
[1/27779] Fetching swift-collections
Fetched https://github.com/apple/swift-collections (1.19s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.1 (1.39s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.07s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3830] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.76s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.22s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.32s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.13.1 (0.29s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-algorithms
[1/6159] Fetching swift-algorithms
[6160/25104] Fetching swift-algorithms, swift-argument-parser
[25105/200271] Fetching swift-algorithms, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-algorithms (6.26s)
Fetched https://github.com/apple/swift-argument-parser (6.26s)
Fetched https://github.com/mattpolzin/OpenAPIKit (6.32s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (6.52s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.57s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (0.78s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.17s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.19s)
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/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-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-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
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.1
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
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-openapi-urlsession
Working copy of https://github.com/apple/swift-openapi-urlsession resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-openapi-generator
Working copy of https://github.com/apple/swift-openapi-generator resolved at 1.13.1
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.12.1
Creating working copy for https://github.com/laconicman/OSLogLoggingMiddleware
Working copy of https://github.com/laconicman/OSLogLoggingMiddleware resolved at 1.1.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 776]
[Planning deferred tasks]
[Starting]
[35 / 292] SpanPreview
[147 / 297] _NumericsShims
[154 / 316] RealModule
[158 / 345] OpenAPIKitCore
[159 / 345] CYaml
[162 / 345] CYaml
[165 / 345] ArgumentParserToolInfo
[175 / 345] Yams
[176 / 345] InternalCollectionsUtilities
[186 / 345] HTTPTypes
[188 / 345] HTTPTypes
[198 / 345] Yams-product
[199 / 345] Yams-product
[200 / 345] gitlab-spec-tool-product
[201 / 345] RealModule-product
[202 / 345] RealModule-product
[203 / 345] RealModule
[205 / 345] RealModule
[206 / 345] RealModule
[208 / 345] OpenAPIKitCore
[209 / 346] RealModule
[212 / 346] RealModule
[215 / 346] OpenAPIKitCore
[216 / 346] Yams
[217 / 346] OpenAPIKit30
[219 / 346] InternalCollectionsUtilities
[220 / 347] Yams
[221 / 347] InternalCollectionsUtilities
[221 / 347] OpenAPIKitCore
[223 / 347] SpanPreview
[225 / 347] InternalCollectionsUtilities
[227 / 347] HTTPTypes
[228 / 347] HTTPTypes
[229 / 347] HTTPTypes
[230 / 347] HTTPTypes-product
[232 / 347] OpenAPIRuntime
[235 / 348] CYaml
[238 / 348]
[239 / 349] _NumericsShims
[242 / 358] gitlab-spec-tool-product
[244 / 359] SpanPreview
[247 / 369] SpanPreview
[255 / 387] OpenAPIKit30
[259 / 387] OpenAPIRuntime
[260 / 388] SpanPreview
[261 / 388] OpenAPIRuntime
[262 / 388] SpanPreview
[264 / 389] OpenAPIRuntime
[265 / 390] OpenAPIRuntime
[266 / 391] gitlab-spec-tool-product
[267 / 391] gitlab-spec-tool-product
[275 / 391] gitlab-spec-tool-product
[277 / 391] OpenAPIKit30
[277 / 391] OpenAPIKit
[288 / 391] OpenAPIRuntime-product
[289 / 391] OpenAPIRuntime-product
[290 / 391] OpenAPIRuntime
[291 / 391] OpenAPIKit30-product
[292 / 391] OpenAPIKit30-product
[294 / 391] OpenAPIKit30
[295 / 391] OpenAPIKit
[296 / 392] OpenAPIRuntime
[297 / 392] OpenAPIKit
[298 / 392] OpenAPIRuntime
[300 / 392] OpenAPIKit
[301 / 392] OpenAPIKit
[302 / 392] OpenAPIKitCompat
[303 / 392] OpenAPIKitCompat
[304 / 392] OpenAPIKit
[306 / 392] HTTPTypes
[307 / 392] InternalCollectionsUtilities
[310 / 392] HTTPTypes
[311 / 392] ArgumentParserToolInfo
[314 / 392] RealModule
[316 / 394] Algorithms
[317 / 403] ArgumentParser
[318 / 412] Algorithms
[318 / 412] OpenAPIKit30
[320 / 412] ArgumentParser
[321 / 413] OpenAPIKit30
[322 / 413] ArgumentParser
[325 / 413] OpenAPIKit30
[326 / 413] ArgumentParser
[331 / 413] ArgumentParser
[332 / 413] ArgumentParser
[333 / 413] ArgumentParser
[334 / 413] ArgumentParser
[335 / 413] Algorithms
[336 / 413] Algorithms
[337 / 413] Algorithms
[338 / 413] ArgumentParser
[343 / 413] ArgumentParser
[344 / 413] Algorithms-product
[345 / 413] Algorithms-product
[347 / 413]
[351 / 418] OpenAPIKitCompat
[352 / 418] OpenAPIKitCompat
[354 / 418] OpenAPIKitCompat
[359 / 419] OpenAPIKitCompat
[359 / 420] DequeModule
[362 / 428] Yams
[362 / 428] OpenAPIKitCompat-product
[363 / 428] _OpenAPIGeneratorCore
[364 / 428] _OpenAPIGeneratorCore
[367 / 430] OpenAPIKitCompat
[368 / 430] OpenAPIKit
[369 / 430] OpenAPIKitCompat
[370 / 430] DequeModule
[374 / 430]
[375 / 431]
[376 / 431] _OpenAPIGeneratorCore
[378 / 440] _OpenAPIGeneratorCore
[381 / 441] Algorithms
[382 / 441] _OpenAPIGeneratorCore
[383 / 441] _OpenAPIGeneratorCore
[384 / 442] _OpenAPIGeneratorCore
[385 / 442] _OpenAPIGeneratorCore
[388 / 442] _OpenAPIGeneratorCore
[393 / 442] swift-openapi-generator-product
[395 / 442] ArgumentParser
[396 / 442] OpenAPIRuntime
[398 / 443] OpenAPIKitCompat
[398 / 443] swift-openapi-generator-product
[402 / 452] swift-openapi-generator-product
[405 / 452] swift-openapi-generator-product
[407 / 452] DequeModule
[411 / 452] DequeModule
[413 / 452] swift-openapi-generator-product
[413 / 452] _OpenAPIGeneratorCore
[414 / 452] DequeModule-product
[416 / 452] OpenAPIURLSession
[419 / 460] OpenAPIURLSession
[420 / 460] OpenAPIURLSession
[423 / 460] OpenAPIURLSession
[424 / 460] OpenAPIURLSession
[424 / 460]
[425 / 461]
[427 / 461] swift-openapi-generator-product
[427 / 461] OpenAPIURLSession
[427 / 461] _OpenAPIGeneratorCore
[435 / 464] OSLogLoggingMiddleware
[442 / 465] OpenAPIURLSession
[446 / 466] OSLogLoggingMiddleware
[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
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources/Types+Components+Responses.swift:3:25: warning: public import of 'OpenAPIRuntime' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 1 | // Generated by swift-openapi-generator, do not modify.
 2 | // swiftlint:disable all
 3 | @_spi(Generated) public import OpenAPIRuntime
   |                         `- warning: public import of 'OpenAPIRuntime' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 4 | #if os(Linux)
 5 | @preconcurrency public import struct Foundation.URL
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources/Types+Components+Responses.swift:5:24: warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 3 | @_spi(Generated) public import OpenAPIRuntime
 4 | #if os(Linux)
 5 | @preconcurrency public import struct Foundation.URL
   |                        `- warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 6 | @preconcurrency public import struct Foundation.Data
 7 | @preconcurrency public import struct Foundation.Date
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources/Types+Components+Responses.swift:6:24: warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 4 | #if os(Linux)
 5 | @preconcurrency public import struct Foundation.URL
 6 | @preconcurrency public import struct Foundation.Data
   |                        `- warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 7 | @preconcurrency public import struct Foundation.Date
 8 | #else
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources/Types+Components+Responses.swift:7:24: warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 5 | @preconcurrency public import struct Foundation.URL
 6 | @preconcurrency public import struct Foundation.Data
 7 | @preconcurrency public import struct Foundation.Date
   |                        `- warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 8 | #else
 9 | public import struct Foundation.URL
[#UnusedImportAccess]: <https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access>
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources/Types+Components+Headers.swift:3:25: warning: public import of 'OpenAPIRuntime' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 1 | // Generated by swift-openapi-generator, do not modify.
 2 | // swiftlint:disable all
 3 | @_spi(Generated) public import OpenAPIRuntime
   |                         `- warning: public import of 'OpenAPIRuntime' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 4 | #if os(Linux)
 5 | @preconcurrency public import struct Foundation.URL
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources/Types+Components+Headers.swift:5:24: warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 3 | @_spi(Generated) public import OpenAPIRuntime
 4 | #if os(Linux)
 5 | @preconcurrency public import struct Foundation.URL
   |                        `- warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 6 | @preconcurrency public import struct Foundation.Data
 7 | @preconcurrency public import struct Foundation.Date
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources/Types+Components+Headers.swift:6:24: warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 4 | #if os(Linux)
 5 | @preconcurrency public import struct Foundation.URL
 6 | @preconcurrency public import struct Foundation.Data
   |                        `- warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 7 | @preconcurrency public import struct Foundation.Date
 8 | #else
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources/Types+Components+Headers.swift:7:24: warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 5 | @preconcurrency public import struct Foundation.URL
 6 | @preconcurrency public import struct Foundation.Data
 7 | @preconcurrency public import struct Foundation.Date
   |                        `- warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 8 | #else
 9 | public import struct Foundation.URL
[#UnusedImportAccess]: <https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access>
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources/Types+Components+RequestBodies.swift:3:25: warning: public import of 'OpenAPIRuntime' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 1 | // Generated by swift-openapi-generator, do not modify.
 2 | // swiftlint:disable all
 3 | @_spi(Generated) public import OpenAPIRuntime
   |                         `- warning: public import of 'OpenAPIRuntime' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 4 | #if os(Linux)
 5 | @preconcurrency public import struct Foundation.URL
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources/Types+Components+RequestBodies.swift:5:24: warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 3 | @_spi(Generated) public import OpenAPIRuntime
 4 | #if os(Linux)
 5 | @preconcurrency public import struct Foundation.URL
   |                        `- warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 6 | @preconcurrency public import struct Foundation.Data
 7 | @preconcurrency public import struct Foundation.Date
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources/Types+Components+RequestBodies.swift:6:24: warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 4 | #if os(Linux)
 5 | @preconcurrency public import struct Foundation.URL
 6 | @preconcurrency public import struct Foundation.Data
   |                        `- warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 7 | @preconcurrency public import struct Foundation.Date
 8 | #else
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources/Types+Components+RequestBodies.swift:7:24: warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 5 | @preconcurrency public import struct Foundation.URL
 6 | @preconcurrency public import struct Foundation.Data
 7 | @preconcurrency public import struct Foundation.Date
   |                        `- warning: public import of 'Foundation' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
 8 | #else
 9 | public import struct Foundation.URL
[#UnusedImportAccess]: <https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access>
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/GitLabOpenAPI/destination/OpenAPIGenerator/GeneratedSources/Types.swift:3:25: warning: public import of 'OpenAPIRuntime' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
   1 | // Generated by swift-openapi-generator, do not modify.
   2 | // swiftlint:disable all
   3 | @_spi(Generated) public import OpenAPIRuntime
     |                         `- warning: public import of 'OpenAPIRuntime' was not used in public declarations or inlinable code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access\UnusedImportAccess]8;;\]
   4 | #if os(Linux)
   5 | @preconcurrency public import struct Foundation.URL
[#UnusedImportAccess]: <https://docs.swift.org/compiler/documentation/diagnostics/unused-import-access>
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:24:28: error: cannot find type 'BodyLoggingPolicy' in scope
22 |         token: String,
23 |         hostname: String = "gitlab.com",
24 |         bodyLoggingPolicy: BodyLoggingPolicy = .never
   |                            `- error: cannot find type 'BodyLoggingPolicy' in scope
25 |     ) throws {
26 |         try self.init(
/host/spi-builder-workspace/Sources/GitLabKit/GitLabClient.swift:54:28: error: cannot find type 'BodyLoggingPolicy' in scope
52 |         token: String,
53 |         serverURL: URL,
54 |         bodyLoggingPolicy: BodyLoggingPolicy = .never
   |                            `- error: cannot find type 'BodyLoggingPolicy' in scope
55 |     ) {
56 |         self.init(
/host/spi-builder-workspace/Sources/GitLabKit/GitLabClient.swift:32:17: error: cannot call value of non-function type 'module<OSLogLoggingMiddleware>'
30 |             middlewares: [
31 |                 HeaderMiddleware(bearerToken: token),
32 |                 OSLogLoggingMiddleware(bodyLoggingConfiguration: bodyLoggingPolicy),
   |                 `- error: cannot call value of non-function type 'module<OSLogLoggingMiddleware>'
33 |             ]
34 |         )
/host/spi-builder-workspace/Sources/GitLabKit/GitLabClient.swift:62:17: error: cannot call value of non-function type 'module<OSLogLoggingMiddleware>'
60 |             middlewares: [
61 |                 HeaderMiddleware(bearerToken: token),
62 |                 OSLogLoggingMiddleware(bodyLoggingConfiguration: bodyLoggingPolicy),
   |                 `- error: cannot call value of non-function type 'module<OSLogLoggingMiddleware>'
63 |             ]
64 |         )
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
[473 / 484] GitLabKit
error: Build failed
BUILD FAILURE 6.4 linux