Build Information
Failed to build JSONSession, reference v3.0.0 (c4a158), with Swift 6.2 for Linux on 6 Mar 2026 23:53:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/JSONSession.git
Reference: v3.0.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/elegantchaos/JSONSession
* tag v3.0.0 -> FETCH_HEAD
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 v3.0.0
========================================
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-2":/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
[422/2478] Fetching logger, actionbuilderplugin
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (0.26s)
Fetched https://github.com/elegantchaos/Logger.git from cache (1.02s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 2.0.1 (3.93s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 2.1.2 (0.55s)
Fetching https://github.com/elegantchaos/ActionBuilderCore.git
[1/926] Fetching actionbuildercore
Fetched https://github.com/elegantchaos/ActionBuilderCore.git from cache (0.36s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore.git
Computed https://github.com/elegantchaos/ActionBuilderCore.git at 2.1.6 (0.73s)
Fetching https://github.com/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/elegantchaos/Runner.git
[1/467] Fetching versionator
[11/619] Fetching versionator, semanticversion
[620/1329] Fetching versionator, semanticversion, runner
Fetched https://github.com/elegantchaos/Runner.git from cache (0.62s)
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.62s)
Fetched https://github.com/elegantchaos/Versionator.git from cache (0.62s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 2.1.1 (1.23s)
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/2544] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.48s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (4.09s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 2.1.5 (0.64s)
Fetching https://github.com/elegantchaos/ChaosByteStreams
[1/129] Fetching chaosbytestreams
Fetched https://github.com/elegantchaos/ChaosByteStreams from cache (0.33s)
Computing version for https://github.com/elegantchaos/ChaosByteStreams
Computed https://github.com/elegantchaos/ChaosByteStreams at 1.0.7 (1.00s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.3.0 (0.73s)
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.65s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.25s)
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/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
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/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/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 2.0.1
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
[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/50] Compiling SystemPackage SystemString.swift
[10/50] Compiling SystemPackage Util+StringArray.swift
[11/50] Compiling SystemPackage Util.swift
[12/50] Compiling SystemPackage UtilConsumers.swift
[13/50] Compiling SystemPackage FilePath.swift
[14/50] Compiling SystemPackage FilePathComponentView.swift
[15/50] Compiling SystemPackage FilePathComponents.swift
[16/50] Compiling SystemPackage FilePathParsing.swift
[17/50] Compiling SystemPackage FilePathString.swift
[18/50] Compiling SystemPackage Errno.swift
[19/50] Compiling SystemPackage ErrnoWindows.swift
[20/50] Compiling SystemPackage FileDescriptor.swift
[21/50] Compiling SystemPackage FileHelpers.swift
[22/50] Compiling SystemPackage FileOperations.swift
[23/50] Compiling SystemPackage Syscalls.swift
[24/50] Compiling SystemPackage WindowsSyscallAdapters.swift
[25/50] Compiling SystemPackage MachPort.swift
[26/50] Compiling SystemPackage PlatformString.swift
[27/50] Compiling SystemPackage FilePathWindows.swift
[28/50] Compiling SystemPackage FilePermissions.swift
[29/50] Compiling SystemPackage IOCompletion.swift
[30/50] Compiling SystemPackage IORequest.swift
[31/50] Compiling SystemPackage Constants.swift
[32/50] Compiling SystemPackage Exports.swift
[33/50] Compiling SystemPackage Mocking.swift
[34/50] Compiling SystemPackage RawBuffer.swift
[35/50] Emitting module VersionatorUtils
[36/50] Compiling VersionatorUtils String+AsyncSequence.swift
[37/51] Wrapping AST for VersionatorUtils for debugging
[39/51] Compiling SystemPackage FilePathSyntax.swift
[40/51] Compiling SystemPackage FilePathTemp.swift
[41/51] Compiling SystemPackage FilePathTempPosix.swift
[42/51] Compiling SystemPackage FilePathTempWindows.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] Emitting module Subprocess
[50/76] Compiling Subprocess Teardown.swift
[51/76] Compiling Subprocess Thread.swift
[52/76] Compiling Subprocess Subprocess+Windows.swift
[53/76] Compiling Subprocess Result.swift
[54/76] Compiling Subprocess Span+Subprocess.swift
[55/76] Compiling Subprocess Input+Foundation.swift
[56/76] Compiling Subprocess Output+Foundation.swift
[57/76] Compiling Subprocess Span+SubprocessFoundation.swift
[58/76] Compiling Subprocess Input.swift
[59/76] Compiling Subprocess Output.swift
[60/76] Compiling Subprocess Subprocess+BSD.swift
[61/76] Compiling Subprocess AsyncIO+Dispatch.swift
[62/76] Compiling Subprocess AsyncIO+Linux.swift
[63/76] Compiling Subprocess AsyncIO+Windows.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/20] Compiling Logger Context.swift
[9/20] Compiling Logger Defaults.swift
[10/20] Compiling Logger YieldingSequence.swift
[11/20] Compiling Logger NSLogHandler.swift
[12/20] Compiling Logger OSLogHandler.swift
[13/20] Compiling Logger Manager.swift
[14/20] Compiling Logger ManagerSettings.swift
[15/20] Compiling Logger PrintHandler.swift
[16/20] Compiling Logger StreamHandler.swift
[17/20] Compiling Logger UserDefaultsManagerSettings.swift
[18/20] Emitting module Logger
[19/20] Compiling Logger Channel.swift
[20/20] Compiling Logger ChannelsWatcher.swift
[22/30] Compiling JSONSession Resource.swift
[23/30] Compiling JSONSession ResourceResolver.swift
[24/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.
[25/31] Compiling JSONSession Query.swift
[26/31] Compiling JSONSession Request.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/31] Compiling JSONSession ProcessorGroup.swift
[28/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)
[29/31] Compiling JSONSession Failure.swift
[30/31] Compiling JSONSession Processor.swift
[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