The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-snapshot-testing, reference 0.1.1 (36d0d9), with Swift 6.2 (beta) for Linux on 11 Sep 2025 11:46:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/snapshot-testing/swift-snapshot-testing.git
Reference: 0.1.1
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               0.1.1      -> FETCH_HEAD
HEAD is now at 36d0d9b Fix build
Cloned https://github.com/snapshot-testing/swift-snapshot-testing.git
Revision (git rev-parse @):
36d0d9b536e56099dc613a6a057827a819746a41
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/snapshot-testing/swift-snapshot-testing.git at 0.1.1
========================================
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-4609320-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:c6c8e08ea30bca759adf847aac87887750120fe9b6eaea09f5af37036a41e81a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/snapshot-testing/xc-snapshot-testing
[1/759] Fetching xc-snapshot-testing
[442/72672] Fetching xc-snapshot-testing, swift-syntax
Fetched https://github.com/snapshot-testing/xc-snapshot-testing from cache (8.84s)
Fetched https://github.com/swiftlang/swift-syntax from cache (8.88s)
Computing version for https://github.com/snapshot-testing/xc-snapshot-testing
Computed https://github.com/snapshot-testing/xc-snapshot-testing at 0.1.0 (9.45s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4598] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.36s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.72s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5499] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.68s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (3.97s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.39s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
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 0.1.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Building for debugging...
[0/20] Write sources
[18/20] Compiling _SwiftSyntaxCShims dummy.c
[19/20] Write swift-version-24593BA9C3E375BF.txt
[21/87] Emitting module SwiftSyntax601
[22/124] Emitting module XCSnapshotTesting
[23/137] Emitting module SwiftSyntax510
[24/137] Compiling SwiftSyntax510 Empty.swift
[25/138] Compiling SwiftSyntax600 Empty.swift
[26/138] Emitting module SwiftSyntax600
[27/138] Compiling SwiftSyntax509 Empty.swift
[28/138] Emitting module SwiftSyntax509
[30/140] Emitting module IssueReportingPackageSupport
[31/140] Compiling IssueReportingPackageSupport _Test.swift
[34/141] Compiling SwiftSyntax601 Empty.swift
[37/225] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[38/225] Compiling SwiftSyntax TokenDiagnostic.swift
[39/227] Emitting module IssueReporting
[40/227] Compiling IssueReporting WithExpectedIssue.swift
[41/227] Compiling IssueReporting WithIssueContext.swift
[42/227] Compiling SwiftSyntax TokenSequence.swift
[43/227] Compiling SwiftSyntax TokenSyntax.swift
[44/227] Compiling SwiftSyntax SyntaxProtocol.swift
[45/227] Compiling SwiftSyntax SyntaxText.swift
[46/227] Compiling XCSnapshotTesting UserInterfaceStyleTraitKey.swift
[47/227] Compiling XCSnapshotTesting Traits.swift
[48/227] Compiling XCSnapshotTesting NoWindowAvailableError.swift
[49/227] Compiling XCSnapshotTesting Snapshot+SDKApplication.swift
[50/227] Compiling XCSnapshotTesting Snapshot+WindowPool.swift
[51/227] Compiling XCSnapshotTesting SnapshotWindowConfiguration.swift
[52/227] Compiling XCSnapshotTesting WindowLease.swift
[53/227] Compiling XCSnapshotTesting WindowPool.swift
[54/227] Compiling XCSnapshotTesting BytesContainer.swift
[55/227] Compiling XCSnapshotTesting BytesRepresentable.swift
[56/227] Compiling XCSnapshotTesting BytesSerializationError.swift
[57/227] Compiling XCSnapshotTesting DataSerialization.swift
[58/227] Compiling XCSnapshotTesting DataSerializationConfiguration.swift
[59/227] Compiling XCSnapshotTesting DisplayGamutTraitKey.swift
[60/227] Compiling XCSnapshotTesting DisplayScaleTraitKey.swift
[61/227] Compiling XCSnapshotTesting ForceTouchCapabilityTraitKey.swift
[62/227] Compiling XCSnapshotTesting ImageDynamicRangeTraitKey.swift
[63/227] Compiling XCSnapshotTesting LayoutDirectionTraitKey.swift
[64/227] Compiling XCSnapshotTesting LegibilityWeightTraitKey.swift
[65/227] Compiling XCSnapshotTesting ListEnvironmentTraitKey.swift
[66/227] Compiling XCSnapshotTesting SceneCaptureStateTraitKey.swift
[67/227] Compiling XCSnapshotTesting ToolbarItemPresentationSizeTraitKey.swift
[68/227] Compiling XCSnapshotTesting TypesettingLanguageTraitKey.swift
[69/227] Compiling XCSnapshotTesting UserInterfaceActiveAppearanceTraitKey.swift
[70/227] Compiling XCSnapshotTesting UserInterfaceIdiomTraitKey.swift
[71/227] Compiling XCSnapshotTesting UserInterfaceLevelTraitKey.swift
[72/227] Compiling SwiftSyntax AbsolutePosition.swift
[73/227] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[74/227] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[75/227] Compiling SwiftSyntax Assert.swift
[76/227] Compiling SwiftSyntax BumpPtrAllocator.swift
[77/227] Compiling SwiftSyntax CommonAncestor.swift
[78/227] Compiling SwiftSyntax Convenience.swift
[79/227] Compiling SwiftSyntax CustomTraits.swift
[80/227] Compiling SwiftSyntax EditorPlaceholder.swift
[81/227] Compiling SwiftSyntax SyntaxIdentifier.swift
[82/227] Compiling SwiftSyntax SyntaxNodeFactory.swift
[83/227] Compiling SwiftSyntax SyntaxNodeStructure.swift
[86/227] Compiling SwiftSyntax SyntaxVisitor.swift
[87/227] Compiling SwiftSyntax TokenKind.swift
[88/227] Compiling SwiftSyntax Tokens.swift
[89/227] Compiling SwiftSyntax TriviaPieces.swift
[90/227] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[91/227] Compiling SwiftSyntax Trivia.swift
[92/227] Compiling SwiftSyntax Utils.swift
[93/227] Compiling SwiftSyntax ChildNameForKeyPath.swift
[94/227] Compiling SwiftSyntax Keyword.swift
[95/227] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[96/227] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[97/227] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[98/227] Compiling SwiftSyntax SyntaxBaseNodes.swift
[99/227] Compiling SwiftSyntax SyntaxCollections.swift
[100/227] Compiling SwiftSyntax RawSyntaxNodesC.swift
[101/227] Compiling SwiftSyntax RawSyntaxNodesD.swift
[102/227] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[103/227] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[104/227] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[105/227] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[106/227] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[107/227] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[108/227] Compiling SwiftSyntax RawSyntaxValidation.swift
[109/227] Compiling XCSnapshotTesting SnapshotEnvironment.swift
[110/227] Compiling XCSnapshotTesting SnapshotEnvironmentKey.swift
[111/227] Compiling XCSnapshotTesting SnapshotEnvironmentValues.swift
[112/227] Compiling XCSnapshotTesting CGImage+Extension.swift
[116/227] Compiling XCSnapshotTesting DataSerializationConfigurationKey.swift
[117/227] Compiling XCSnapshotTesting DataBytes.swift
[118/227] Compiling XCSnapshotTesting ImageBytes.swift
[119/227] Compiling XCSnapshotTesting StringBytes.swift
[120/227] Compiling XCSnapshotTesting Snapshot.swift
[121/227] Compiling XCSnapshotTesting Sync.swift
[122/227] Compiling XCSnapshotTesting SnapshotEngine.swift
[123/227] Compiling XCSnapshotTesting SnapshotFailContext.swift
[124/227] Compiling XCSnapshotTesting SnapshotFailure.swift
[125/227] Compiling XCSnapshotTesting SnapshotFileEngine.swift
[126/227] Compiling XCSnapshotTesting SnapshotPerformOperation.swift
[127/227] Compiling XCSnapshotTesting SnapshotTester.swift
[128/227] Compiling XCSnapshotTesting TestingSystem.swift
[129/227] Compiling SwiftSyntax Identifier.swift
[130/227] Compiling SwiftSyntax MemoryLayout.swift
[131/227] Compiling SwiftSyntax MissingNodeInitializers.swift
[132/227] Compiling SwiftSyntax RawSyntax.swift
[133/227] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[134/227] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[135/227] Compiling SwiftSyntax RawSyntaxTokenView.swift
[136/227] Compiling SwiftSyntax SourceEdit.swift
[137/227] Compiling SwiftSyntax SourceLength.swift
[138/227] Compiling SwiftSyntax SyntaxEnum.swift
[139/227] Compiling SwiftSyntax SyntaxKind.swift
[140/227] Compiling SwiftSyntax SyntaxRewriter.swift
[141/227] Compiling SwiftSyntax SyntaxTraits.swift
[148/227] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[149/227] Compiling SwiftSyntax Syntax.swift
[150/227] Compiling SwiftSyntax SyntaxArena.swift
[151/227] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[152/227] Compiling SwiftSyntax SyntaxChildren.swift
[153/227] Compiling SwiftSyntax SyntaxCollection.swift
[154/227] Compiling SwiftSyntax SyntaxHashable.swift
[166/240] Compiling SnapshotTesting Exports.swift
[167/240] Compiling XCTestDynamicOverlay Exports.swift
[168/240] Emitting module SnapshotTesting
/host/spi-builder-workspace/Sources/SnapshotTesting/TestingSystem+SwiftTestingSystem.swift:5:1: warning: extension declares a conformance of imported type 'TestingSystem' to imported protocol 'SwiftTestingSystem'; this will not behave correctly if the owners of 'XCSnapshotTesting' introduce this conformance in the future
  3 | @_spi(Internals) import XCSnapshotTesting
  4 |
  5 | extension TestingSystem: SwiftTestingSystem {
    | |- warning: extension declares a conformance of imported type 'TestingSystem' to imported protocol 'SwiftTestingSystem'; this will not behave correctly if the owners of 'XCSnapshotTesting' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  6 |
  7 |     public var environment: TestingSystemEnvironment? {
[169/240] Compiling SnapshotTesting DiffToolTrait.swift
[170/240] Compiling SnapshotTesting MaxConcurrentTestsTrait.swift
[171/240] Compiling SnapshotTesting PlatformTrait.swift
[172/240] Compiling SnapshotTesting RecordTrait.swift
[173/240] Compiling SnapshotTesting TestCompletionNotifier.swift
[174/240] Compiling SnapshotTesting TestingSystem+SwiftTestingSystem.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/TestingSystem+SwiftTestingSystem.swift:5:1: warning: extension declares a conformance of imported type 'TestingSystem' to imported protocol 'SwiftTestingSystem'; this will not behave correctly if the owners of 'XCSnapshotTesting' introduce this conformance in the future
  3 | @_spi(Internals) import XCSnapshotTesting
  4 |
  5 | extension TestingSystem: SwiftTestingSystem {
    | |- warning: extension declares a conformance of imported type 'TestingSystem' to imported protocol 'SwiftTestingSystem'; this will not behave correctly if the owners of 'XCSnapshotTesting' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  6 |
  7 |     public var environment: TestingSystemEnvironment? {
/host/spi-builder-workspace/Sources/SnapshotTesting/TestingSystem+SwiftTestingSystem.swift:40:13: error: generic struct 'Attachment' requires that 'Data' conform to 'Attachable'
 38 |             }
 39 |
 40 |             Attachment.record(
    |             `- error: generic struct 'Attachment' requires that 'Data' conform to 'Attachable'
 41 |                 payload,
 42 |                 named: attachmentName,
Testing.Attachment:1:15: note: where 'AttachableValue' = 'Data'
1 | public struct Attachment<AttachableValue> : ~Copyable where AttachableValue : Attachable, AttachableValue : ~Copyable {
  |               `- note: where 'AttachableValue' = 'Data'
2 |     public var preferredName: String { get }
3 | }
[175/240] Emitting module XCTestDynamicOverlay
BUILD FAILURE 6.2 linux