The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-snapshot-testing, reference 1.2.0 (b71a65), with Swift 6.2 for Linux on 14 Feb 2026 02:32:54 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/snapshot-testing/swift-snapshot-testing.git
Reference: 1.2.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/snapshot-testing/swift-snapshot-testing
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at b71a657 Fix Linux Builds (#4)
Cloned https://github.com/snapshot-testing/swift-snapshot-testing.git
Revision (git rev-parse @):
b71a65781992ae8238c9d2e4f5965d5b0d634510
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/snapshot-testing/swift-snapshot-testing.git at 1.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/snapshot-testing/swift-snapshot-testing.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/snapshot-testing/xc-snapshot-testing
Fetching https://github.com/swiftlang/swift-syntax
[1/831] Fetching xc-snapshot-testing
Fetched https://github.com/snapshot-testing/xc-snapshot-testing from cache (0.67s)
[1/74168] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.51s)
Computing version for https://github.com/snapshot-testing/xc-snapshot-testing
Computed https://github.com/snapshot-testing/xc-snapshot-testing at 1.2.0 (6.93s)
Fetching https://github.com/o-nnerb/swift-async-stream
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/255] Fetching swift-async-stream
[256/5539] Fetching swift-async-stream, swift-custom-dump
Fetched https://github.com/o-nnerb/swift-async-stream from cache (0.22s)
[952/5284] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.33s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.4.1 (0.74s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5607] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.65s)
Computing version for https://github.com/o-nnerb/swift-async-stream
Computed https://github.com/o-nnerb/swift-async-stream at 1.3.2 (1.01s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (2.64s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (0.39s)
Creating working copy for https://github.com/snapshot-testing/xc-snapshot-testing
Working copy of https://github.com/snapshot-testing/xc-snapshot-testing resolved at 1.2.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/o-nnerb/swift-async-stream
Working copy of https://github.com/o-nnerb/swift-async-stream resolved at 1.3.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.4.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2.3-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2.3-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.43s)
Building for debugging...
[0/22] Write sources
[20/22] Compiling _SwiftSyntaxCShims PlatformMutex.c
[21/22] Write swift-version-24593BA9C3E375BF.txt
[23/45] Emitting module SwiftSyntax510
[24/45] Compiling SwiftSyntax509 Empty.swift
[25/45] Emitting module SwiftSyntax509
[27/46] Compiling SwiftSyntax600 Empty.swift
[28/46] Emitting module SwiftSyntax600
[29/46] Compiling SwiftSyntax510 Empty.swift
[32/48] Compiling SwiftSyntax601 Empty.swift
[33/48] Emitting module SwiftSyntax601
[34/49] Emitting module IssueReportingPackageSupport
[35/49] Compiling IssueReportingPackageSupport _Test.swift
[37/50] Emitting module SwiftSyntax602
[38/50] Compiling SwiftSyntax602 Empty.swift
[41/133] Compiling SwiftSyntax SyntaxHashable.swift
[42/133] Compiling SwiftSyntax SyntaxIdentifier.swift
[43/133] Compiling SwiftSyntax SyntaxChildren.swift
[44/133] Compiling SwiftSyntax SyntaxCollection.swift
[45/135] Compiling IssueReporting WithExpectedIssue.swift
[46/135] Compiling IssueReporting WithIssueContext.swift
[47/135] Compiling SwiftAsyncStream PassthroughSubject.swift
[48/135] Compiling SwiftSyntax Assert.swift
[49/135] Compiling SwiftSyntax BumpPtrAllocator.swift
[50/135] Compiling SwiftSyntax CommonAncestor.swift
[51/135] Compiling SwiftSyntax Convenience.swift
[52/135] Compiling SwiftSyntax CustomTraits.swift
[53/135] Compiling SwiftSyntax EditorPlaceholder.swift
/host/spi-builder-workspace/.build/checkouts/swift-async-stream/Sources/SwiftAsyncStream/Lock.swift:204:50: error: cannot convert value of type 'Int' to expected argument type 'Int32'
202 |             debugOnly {
203 |                 #if !os(OpenBSD)
204 |                 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK)
    |                                                  `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
205 |                 #endif
206 |             }
/host/spi-builder-workspace/.build/checkouts/swift-async-stream/Sources/SwiftAsyncStream/Lock.swift:204:50: error: cannot convert value of type 'Int' to expected argument type 'Int32'
202 |             debugOnly {
203 |                 #if !os(OpenBSD)
204 |                 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK)
    |                                                  `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
205 |                 #endif
206 |             }
[56/136] Emitting module IssueReporting
[57/136] Compiling SwiftSyntax AbsolutePosition.swift
[58/136] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[59/136] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[60/136] Compiling SwiftSyntax SourceLength.swift
[61/136] Compiling SwiftSyntax SourceLocation.swift
[62/136] Compiling SwiftSyntax SourcePresence.swift
[63/136] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[64/136] Compiling SwiftSyntax Syntax.swift
[65/137] Compiling SwiftAsyncStream SubjectAsyncIterator.swift
[66/137] Compiling SwiftAsyncStream ValueSubject.swift
[67/137] Compiling SwiftAsyncStream NodeSubject.swift
[69/137] Emitting module SwiftAsyncStream
[74/140] Compiling SwiftAsyncStream Task+.swift
[75/140] Compiling XCTestDynamicOverlay Exports.swift
BUILD FAILURE 6.2 linux