The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JSONSession, reference main (c4a158), with Swift 6.2 for Linux on 6 Mar 2026 23:56:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/JSONSession.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/elegantchaos/JSONSession
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c4a1580 Merge pull request #2 from elegantchaos/feature/session-actor
Cloned https://github.com/elegantchaos/JSONSession.git
Revision (git rev-parse @):
c4a1580e21f58e30dea3086cfdf59fa96e6ef166
SUCCESS checkout https://github.com/elegantchaos/JSONSession.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/elegantchaos/JSONSession.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
[1/2212] Fetching logger
[1063/2478] Fetching logger, actionbuilderplugin
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (0.24s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.25s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 2.0.1 (2.68s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 2.1.2 (0.43s)
Fetching https://github.com/elegantchaos/ActionBuilderCore.git
[1/926] Fetching actionbuildercore
Fetched https://github.com/elegantchaos/ActionBuilderCore.git from cache (0.27s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore.git
Computed https://github.com/elegantchaos/ActionBuilderCore.git at 2.1.6 (0.61s)
Fetching https://github.com/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/elegantchaos/Runner.git
[1/152] Fetching semanticversion
[153/619] Fetching semanticversion, versionator
[620/1329] Fetching semanticversion, versionator, runner
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.25s)
Fetched https://github.com/elegantchaos/Versionator.git from cache (0.25s)
Fetched https://github.com/elegantchaos/Runner.git from cache (0.25s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 2.1.1 (0.64s)
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/2544] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.43s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (2.52s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 2.1.5 (0.31s)
Fetching https://github.com/elegantchaos/ChaosByteStreams
[1/129] Fetching chaosbytestreams
Fetched https://github.com/elegantchaos/ChaosByteStreams from cache (0.21s)
Computing version for https://github.com/elegantchaos/ChaosByteStreams
Computed https://github.com/elegantchaos/ChaosByteStreams at 1.0.7 (0.52s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.3.0 (0.43s)
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.47s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.88s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/elegantchaos/ChaosByteStreams
Working copy of https://github.com/elegantchaos/ChaosByteStreams resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 2.0.1
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 2.1.5
Creating working copy for https://github.com/elegantchaos/Versionator.git
Working copy of https://github.com/elegantchaos/Versionator.git resolved at 2.1.1
Creating working copy for https://github.com/elegantchaos/ActionBuilderCore.git
Working copy of https://github.com/elegantchaos/ActionBuilderCore.git resolved at 2.1.6
Creating working copy for https://github.com/elegantchaos/ActionBuilderPlugin.git
Working copy of https://github.com/elegantchaos/ActionBuilderPlugin.git resolved at 2.1.2
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.3.0
[0/13] Write sources
[4/13] Compiling CSystem shims.c
[5/13] Write swift-version-24593BA9C3E375BF.txt
[6/13] Compiling _SubprocessCShims process_shims.c
[8/46] Emitting module SystemPackage
[9/46] Compiling SystemPackage FilePathSyntax.swift
[10/46] Compiling SystemPackage FilePathTemp.swift
[11/46] Compiling SystemPackage FilePathTempPosix.swift
[12/46] Compiling SystemPackage FilePathTempWindows.swift
[13/50] Compiling SystemPackage Syscalls.swift
[14/50] Compiling SystemPackage WindowsSyscallAdapters.swift
[15/50] Compiling SystemPackage MachPort.swift
[16/50] Compiling SystemPackage PlatformString.swift
[17/50] Compiling SystemPackage Constants.swift
[18/50] Compiling SystemPackage Exports.swift
[19/50] Compiling SystemPackage Mocking.swift
[20/50] Compiling SystemPackage RawBuffer.swift
[21/50] Emitting module VersionatorUtils
[22/50] Compiling VersionatorUtils String+AsyncSequence.swift
[24/51] Compiling SystemPackage SystemString.swift
[25/51] Compiling SystemPackage Util+StringArray.swift
[26/51] Compiling SystemPackage Util.swift
[27/51] Compiling SystemPackage UtilConsumers.swift
[27/51] Wrapping AST for VersionatorUtils for debugging
[29/51] Compiling SystemPackage FilePathWindows.swift
[30/51] Compiling SystemPackage FilePermissions.swift
[31/51] Compiling SystemPackage IOCompletion.swift
[32/51] Compiling SystemPackage IORequest.swift
[33/51] Compiling SystemPackage FilePath.swift
[34/51] Compiling SystemPackage FilePathComponentView.swift
[35/51] Compiling SystemPackage FilePathComponents.swift
[36/51] Compiling SystemPackage FilePathParsing.swift
[37/51] Compiling SystemPackage FilePathString.swift
[38/51] Compiling SystemPackage Errno.swift
[39/51] Compiling SystemPackage ErrnoWindows.swift
[40/51] Compiling SystemPackage FileDescriptor.swift
[41/51] Compiling SystemPackage FileHelpers.swift
[42/51] Compiling SystemPackage FileOperations.swift
[43/51] Compiling SystemPackage IORing.swift
[44/51] Compiling SystemPackage RawIORequest.swift
[45/51] Compiling SystemPackage Backcompat.swift
[46/51] Compiling SystemPackage CInterop.swift
[47/52] Wrapping AST for SystemPackage for debugging
[49/74] Compiling Subprocess Input.swift
[50/74] Compiling Subprocess Output.swift
[51/74] Compiling Subprocess Subprocess+BSD.swift
[52/76] Compiling Subprocess Input+Foundation.swift
[53/76] Compiling Subprocess Output+Foundation.swift
[54/76] Compiling Subprocess Span+SubprocessFoundation.swift
[55/76] Emitting module Subprocess
[56/76] Compiling Subprocess AsyncIO+Dispatch.swift
[57/76] Compiling Subprocess AsyncIO+Linux.swift
[58/76] Compiling Subprocess AsyncIO+Windows.swift
[59/76] Compiling Subprocess Subprocess+Windows.swift
[60/76] Compiling Subprocess Result.swift
[61/76] Compiling Subprocess Span+Subprocess.swift
[62/76] Compiling Subprocess Teardown.swift
[63/76] Compiling Subprocess Thread.swift
[64/76] Compiling Subprocess Subprocess+Darwin.swift
[65/76] Compiling Subprocess Subprocess+Linux.swift
[66/76] Compiling Subprocess Subprocess+Unix.swift
[67/76] Compiling Subprocess Configuration.swift
[68/76] Compiling Subprocess Error.swift
[69/76] Compiling Subprocess Execution.swift
[70/76] Compiling Subprocess API.swift
[71/76] Compiling Subprocess AsyncBufferSequence.swift
[72/76] Compiling Subprocess Buffer.swift
[73/77] Wrapping AST for Subprocess for debugging
[75/79] Emitting module VersionatorTool
[76/79] Compiling VersionatorTool VersionatorTool.swift
[77/80] Wrapping AST for VersionatorTool for debugging
[78/80] Write Objects.LinkFileList
[79/80] Linking VersionatorTool-tool
[1/1] Compiling plugin ActionBuilderPlugin
[2/2] Compiling plugin VersionatorPlugin
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/19] Compiling Logger BasicHandler.swift
[7/19] Compiling Logger Handler.swift
[8/19] Compiling Logger Channel.swift
[9/19] Compiling Logger ChannelsWatcher.swift
[10/19] Emitting module Logger
[11/19] Compiling Logger Context.swift
[12/19] Compiling Logger Defaults.swift
[13/19] Compiling Logger UserDefaultsManagerSettings.swift
[14/19] Compiling Logger NSLogHandler.swift
[15/19] Compiling Logger OSLogHandler.swift
[16/19] Compiling Logger PrintHandler.swift
[17/19] Compiling Logger StreamHandler.swift
[18/19] Compiling Logger Manager.swift
[19/19] Compiling Logger ManagerSettings.swift
[20/20] Compiling Logger YieldingSequence.swift
[22/30] Compiling JSONSession ResourceResolver.swift
[23/30] Compiling JSONSession Session.swift
/host/spi-builder-workspace/Sources/JSONSession/Session.swift:24:1: error: type 'URLSession' does not conform to protocol 'HTTPDataFetcher'
 19 | public protocol HTTPDataFetcher: Sendable {
 20 |   /// Fetches bytes and response metadata for a request.
 21 |   func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |        `- note: protocol requires function 'data(for:)' with type '(URLRequest) async throws -> (Data, URLResponse)'
 22 | }
 23 |
 24 | extension URLSession: HTTPDataFetcher {}
    | |- error: type 'URLSession' does not conform to protocol 'HTTPDataFetcher'
    | `- note: add stubs for conformance
 25 |
 26 | /// Concurrency-safe HTTP session wrapper used to fetch and decode JSON resources.
[24/31] Compiling JSONSession Resource.swift
[25/31] Compiling JSONSession Request.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/31] Compiling JSONSession Query.swift
[27/31] Compiling JSONSession ProcessorGroup.swift
[28/31] Compiling JSONSession Failure.swift
[29/31] Compiling JSONSession Processor.swift
[30/31] Emitting module JSONSession
/host/spi-builder-workspace/Sources/JSONSession/Session.swift:24:1: error: type 'URLSession' does not conform to protocol 'HTTPDataFetcher'
 19 | public protocol HTTPDataFetcher: Sendable {
 20 |   /// Fetches bytes and response metadata for a request.
 21 |   func data(for request: URLRequest) async throws -> (Data, URLResponse)
    |        `- note: protocol requires function 'data(for:)' with type '(URLRequest) async throws -> (Data, URLResponse)'
 22 | }
 23 |
 24 | extension URLSession: HTTPDataFetcher {}
    | |- error: type 'URLSession' does not conform to protocol 'HTTPDataFetcher'
    | `- note: add stubs for conformance
 25 |
 26 | /// Concurrency-safe HTTP session wrapper used to fetch and decode JSON resources.
/host/spi-builder-workspace/Sources/JSONSession/TimeExtensions.swift:85:35: warning: conformance of 'DispatchTimeInterval' to protocol 'Equatable' was already stated in the type's module 'Dispatch'
83 |
84 |   /// Provides `Equatable` conformance for Linux-only tests.
85 |   extension DispatchTimeInterval: Equatable {}
   |                                   `- warning: conformance of 'DispatchTimeInterval' to protocol 'Equatable' was already stated in the type's module 'Dispatch'
86 | #endif
87 |
Dispatch.DispatchTimeInterval:1:13: note: 'DispatchTimeInterval' declares conformance to protocol 'Equatable' here
1 | public enum DispatchTimeInterval : Equatable, Sendable {
  |             `- note: 'DispatchTimeInterval' declares conformance to protocol 'Equatable' here
2 |     case seconds(Int)
3 |     case milliseconds(Int)
[31/31] Compiling JSONSession TimeExtensions.swift
/host/spi-builder-workspace/Sources/JSONSession/TimeExtensions.swift:85:35: warning: conformance of 'DispatchTimeInterval' to protocol 'Equatable' was already stated in the type's module 'Dispatch'
83 |
84 |   /// Provides `Equatable` conformance for Linux-only tests.
85 |   extension DispatchTimeInterval: Equatable {}
   |                                   `- warning: conformance of 'DispatchTimeInterval' to protocol 'Equatable' was already stated in the type's module 'Dispatch'
86 | #endif
87 |
Dispatch.DispatchTimeInterval:1:13: note: 'DispatchTimeInterval' declares conformance to protocol 'Equatable' here
1 | public enum DispatchTimeInterval : Equatable, Sendable {
  |             `- note: 'DispatchTimeInterval' declares conformance to protocol 'Equatable' here
2 |     case seconds(Int)
3 |     case milliseconds(Int)
BUILD FAILURE 6.2 linux