Build Information
Failed to build JSONSession, reference main (c4a158), with Swift 6.3 for Linux on 19 Apr 2026 00:32:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path: $PWD
https://github.com/elegantchaos/JSONSession.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
Fetching https://github.com/elegantchaos/Logger.git
[1/282] Fetching actionbuilderplugin
[44/2601] Fetching actionbuilderplugin, logger
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (0.29s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.29s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 2.0.4 (2.81s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 2.1.5 (0.46s)
Fetching https://github.com/elegantchaos/ActionBuilderCore.git
[1/1006] Fetching actionbuildercore
Fetched https://github.com/elegantchaos/ActionBuilderCore.git from cache (0.25s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore.git
Computed https://github.com/elegantchaos/ActionBuilderCore.git at 2.1.9 (0.71s)
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/Runner.git
[1/710] Fetching runner
[58/862] Fetching runner, semanticversion
[665/1329] Fetching runner, semanticversion, versionator
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.30s)
Fetched https://github.com/elegantchaos/Runner.git from cache (0.30s)
Fetched https://github.com/elegantchaos/Versionator.git from cache (0.30s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 2.1.1 (0.90s)
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/2907] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.57s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (2.98s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 2.1.5 (0.39s)
Fetching https://github.com/elegantchaos/ChaosByteStreams
[1/129] Fetching chaosbytestreams
Fetched https://github.com/elegantchaos/ChaosByteStreams from cache (0.25s)
Computing version for https://github.com/elegantchaos/ChaosByteStreams
Computed https://github.com/elegantchaos/ChaosByteStreams at 1.0.7 (0.68s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (0.48s)
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.49s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.14s)
Creating working copy for https://github.com/elegantchaos/ActionBuilderCore.git
Working copy of https://github.com/elegantchaos/ActionBuilderCore.git resolved at 2.1.9
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/ActionBuilderPlugin.git
Working copy of https://github.com/elegantchaos/ActionBuilderPlugin.git resolved at 2.1.5
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/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
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.4
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/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.4.0
[0/13] Write sources
[4/13] Compiling CSystem shims.c
[5/13] Compiling _SubprocessCShims process_shims.c
[6/13] Write swift-version-24593BA9C3E375BF.txt
[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 FilePathWindows.swift
[14/50] Compiling SystemPackage FilePermissions.swift
[15/50] Compiling SystemPackage IOCompletion.swift
[16/50] Compiling SystemPackage IORequest.swift
[17/50] Compiling SystemPackage Errno.swift
[18/50] Compiling SystemPackage ErrnoWindows.swift
[19/50] Compiling SystemPackage FileDescriptor.swift
[20/50] Compiling SystemPackage FileHelpers.swift
[21/50] Compiling SystemPackage FileOperations.swift
[22/50] Compiling SystemPackage FilePathSyntax.swift
[23/50] Compiling SystemPackage FilePathTemp.swift
[24/50] Compiling SystemPackage FilePathTempPosix.swift
[25/50] Compiling SystemPackage FilePathTempWindows.swift
[26/50] Compiling SystemPackage FilePath.swift
[27/50] Compiling SystemPackage FilePathComponentView.swift
[28/50] Compiling SystemPackage FilePathComponents.swift
[29/50] Compiling SystemPackage FilePathParsing.swift
[30/50] Compiling SystemPackage FilePathString.swift
[31/50] Compiling SystemPackage Syscalls.swift
[32/50] Compiling SystemPackage WindowsSyscallAdapters.swift
[33/50] Compiling SystemPackage MachPort.swift
[34/50] Compiling SystemPackage PlatformString.swift
[35/50] Compiling VersionatorUtils String+AsyncSequence.swift
[36/50] Emitting module VersionatorUtils
[37/51] Compiling SystemPackage Constants.swift
[38/51] Compiling SystemPackage Exports.swift
[39/51] Compiling SystemPackage Mocking.swift
[40/51] Compiling SystemPackage RawBuffer.swift
[41/51] Wrapping AST for VersionatorUtils for debugging
[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+Foundation.swift
[50/74] Compiling Subprocess Output+Foundation.swift
[51/74] Compiling Subprocess Span+SubprocessFoundation.swift
[52/76] Emitting module Subprocess
[53/76] Compiling Subprocess Input.swift
[54/76] Compiling Subprocess Output.swift
[55/76] Compiling Subprocess Subprocess+BSD.swift
[56/76] Compiling Subprocess Teardown.swift
[57/76] Compiling Subprocess Thread.swift
[58/76] Compiling Subprocess Subprocess+Darwin.swift
[59/76] Compiling Subprocess Subprocess+Linux.swift
[60/76] Compiling Subprocess Subprocess+Unix.swift
[61/76] Compiling Subprocess Subprocess+Windows.swift
[62/76] Compiling Subprocess Result.swift
[63/76] Compiling Subprocess Span+Subprocess.swift
[64/76] Compiling Subprocess AsyncIO+Dispatch.swift
[65/76] Compiling Subprocess AsyncIO+Linux.swift
[66/76] Compiling Subprocess AsyncIO+Windows.swift
[67/76] Compiling Subprocess API.swift
[68/76] Compiling Subprocess AsyncBufferSequence.swift
[69/76] Compiling Subprocess Buffer.swift
[70/76] Compiling Subprocess Configuration.swift
[71/76] Compiling Subprocess Error.swift
[72/76] Compiling Subprocess Execution.swift
[73/79] Wrapping AST for Subprocess for debugging
[75/79] Compiling VersionatorTool VersionatorTool.swift
[76/79] Emitting module VersionatorTool
[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/18] Compiling Logger ManagerSettings.swift
[7/19] Compiling Logger Defaults.swift
[8/19] Compiling Logger BasicHandler.swift
[9/19] Compiling Logger YieldingSequence.swift
[10/19] Compiling Logger UserDefaultsManagerSettings.swift
[11/19] Compiling Logger Channel.swift
[12/19] Compiling Logger Context.swift
[13/19] Emitting module Logger
[14/19] Compiling Logger OSLogHandler.swift
[15/19] Compiling Logger PrintHandler.swift
[16/19] Compiling Logger Handler.swift
[17/19] Compiling Logger NSLogHandler.swift
[18/19] Compiling Logger StreamHandler.swift
[19/19] Compiling Logger Manager.swift
[21/29] Compiling JSONSession Resource.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/30] Compiling JSONSession ProcessorGroup.swift
[25/30] Compiling JSONSession Query.swift
[26/30] Compiling JSONSession Request.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/30] Compiling JSONSession Failure.swift
[28/30] Compiling JSONSession Processor.swift
[29/30] 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)
[30/30] 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.3 linux