The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-snapshot-testing, reference 1.2.0 (b71a65), with Swift 6.4 for Linux on 24 Sep 2026 03:23:59 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
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-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/snapshot-testing/xc-snapshot-testing
Fetching https://github.com/swiftlang/swift-syntax
[1/857] Fetching xc-snapshot-testing
Fetched https://github.com/snapshot-testing/xc-snapshot-testing (0.76s)
[1/80027] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.52s)
Computing version for https://github.com/snapshot-testing/xc-snapshot-testing
Computed https://github.com/snapshot-testing/xc-snapshot-testing at 1.2.0 (3.70s)
Fetching https://github.com/o-nnerb/swift-async-stream
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
[4591/6571] Fetching swift-custom-dump, swift-async-stream
Fetched https://github.com/pointfreeco/swift-custom-dump (0.50s)
Fetched https://github.com/o-nnerb/swift-async-stream (0.50s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (1.69s)
Computing version for https://github.com/o-nnerb/swift-async-stream
Computed https://github.com/o-nnerb/swift-async-stream at 1.4.1 (0.16s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.19s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.72s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (1.84s)
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.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.7.3
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.4.1
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/snapshot-testing/xc-snapshot-testing
Working copy of https://github.com/snapshot-testing/xc-snapshot-testing resolved at 1.2.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 626]
[Planning deferred tasks]
[Starting]
[85 / 253] SwiftBasicFormat
[138 / 271] SwiftAsyncStream
[147 / 288] _SwiftSyntaxCShims
[151 / 288] SwiftAsyncStream
[176 / 288] SwiftSyntax
[178 / 288] IssueReporting
[186 / 290] SwiftSyntax600
[189 / 291] SwiftSyntax600
[192 / 292] SwiftSyntax602
[196 / 293] SwiftSyntax509
[200 / 293] IssueReporting
[204 / 293] IssueReporting
[206 / 294] SwiftAsyncStream
[209 / 294] SwiftSyntax601
[213 / 294] SwiftAsyncStream
[215 / 296] SwiftAsyncStream
[220 / 314] XCSnapshotTesting
[222 / 314] XCSnapshotTesting
[224 / 315] XCSnapshotTesting
[225 / 315] XCSnapshotTesting
[226 / 315] XCSnapshotTesting
[227 / 315] XCSnapshotTesting
[233 / 315] XCSnapshotTesting
[234 / 315] XCSnapshotTesting-product
[235 / 315] XCSnapshotTesting
[236 / 315] XCSnapshotTesting-product
[238 / 315] SwiftSyntax
[239 / 316] XCSnapshotTesting
[239 / 316] SwiftAsyncStream
[242 / 316] IssueReporting
[244 / 317] SwiftSyntax600
[246 / 326] SwiftSyntax509
[247 / 326] SwiftSyntax
[249 / 326] CustomDump
[250 / 326] CustomDump
[252 / 326] CustomDump
[253 / 326] CustomDump
[254 / 326] CustomDump
[260 / 335] SwiftAsyncStream
[263 / 335] SnapshotTesting
[269 / 335] XCSnapshotTesting
[271 / 335] SnapshotTesting
/host/spi-builder-workspace/Sources/SnapshotTesting/TestCompletionNotifier.swift:72:54: warning: 'withValue(_:operation:isolation:file:line:)' is deprecated: Prefer the 'nonisolated(nonsending)' overload with stricter execution on caller context semantics: withValue(_:operation:file:line:) [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 70 |     }
 71 |
 72 |     return try await TestCompletionNotifier.$current.withValue(
    |                                                      `- warning: 'withValue(_:operation:isolation:file:line:)' is deprecated: Prefer the 'nonisolated(nonsending)' overload with stricter execution on caller context semantics: withValue(_:operation:file:line:) [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 73 |         TestCompletionNotifier(test.sourceLocation),
 74 |         operation: operation,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[272 / 335] SnapshotTesting
[276 / 338] XCSnapshotTestingCustomDump
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SnapshotTesting/TestingSystem+SwiftTestingSystem.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile TestingSystem+SwiftTestingSystem.swift
/host/spi-builder-workspace/Sources/SnapshotTesting/TestingSystem+SwiftTestingSystem.swift:40:13: error: type 'Data' does not conform to protocol 'Attachable'
 38 |             }
 39 |
 40 |             Attachment<Data>.record(
    |             `- error: type 'Data' does not conform to protocol 'Attachable'
 41 |                 payload,
 42 |                 named: attachmentName,
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SnapshotTesting/Exports.swift /host/spi-builder-workspace/Sources/SnapshotTesting/TestCompletionNotifier.swift -primary-file /host/spi-builder-workspace/Sources/SnapshotTesting/TestingSystem+SwiftTestingSystem.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Traits/DiffToolTrait.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Traits/MaxConcurrentTestsTrait.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Traits/PlatformTrait.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Traits/RecordTrait.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-snapshot-testing.build/Debug-linux-x86_64/SnapshotTesting-t.build/Objects-normal/x86_64/TestingSystem+SwiftTestingSystem.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-snapshot-testing.build/Debug-linux-x86_64/SnapshotTesting-t.build/Objects-normal/x86_64/TestingSystem+SwiftTestingSystem.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-snapshot-testing.build/Debug-linux-x86_64/SnapshotTesting-t.build/Objects-normal/x86_64/TestingSystem+SwiftTestingSystem.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-snapshot-testing.build/Debug-linux-x86_64/SnapshotTesting-t.build/Objects-normal/x86_64/TestingSystem+SwiftTestingSystem.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-snapshot-testing.build/Debug-linux-x86_64/SnapshotTesting-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-snapshot-testing.build/Debug-linux-x86_64/SnapshotTesting-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-snapshot-testing.build/Debug-linux-x86_64/SnapshotTesting-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SnapshotTesting -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-snapshot-testing.build/Debug-linux-x86_64/SnapshotTesting-t.build/Objects-normal/x86_64/SnapshotTesting_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-snapshot-testing.build/Debug-linux-x86_64/SnapshotTesting-t.build/Objects-normal/x86_64/TestingSystem+SwiftTestingSystem.o -index-unit-output-path /swift-snapshot-testing.build/Debug-linux-x86_64/SnapshotTesting-t.build/Objects-normal/x86_64/TestingSystem+SwiftTestingSystem.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux