The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-snapshot-testing, reference 1.17.5 (7b0bbb), with Swift 6.4 for Linux on 16 Sep 2026 01:25:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/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/tdrhq/swift-snapshot-testing.git
Reference: 1.17.5
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/tdrhq/swift-snapshot-testing
 * tag               1.17.5     -> FETCH_HEAD
HEAD is now at 7b0bbba Add an NB to @_implementationOnly import.
Cloned https://github.com/tdrhq/swift-snapshot-testing.git
Revision (git rev-parse @):
7b0bbbae90c41f848f90ac7b4df6c4f50068256d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tdrhq/swift-snapshot-testing.git at 1.17.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/tdrhq/swift-snapshot-testing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/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/swiftlang/swift-syntax
[1/79910] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.22s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (3.54s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/InlineSnapshotTestingTests/InlineSnapshotTesting.xctestplan
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 418]
[Planning deferred tasks]
[59 / 162] SwiftParser
[97 / 181] SwiftSyntax510
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift:6:24: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SnapshotTesting' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  4 |   // NB: We are importing only the implementation of Testing because that framework is not available
  5 |   //     in Xcode UI test targets.
  6 |   @_implementationOnly import Testing
    |                        `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SnapshotTesting' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  7 | #endif
  8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift:6:24: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SnapshotTesting' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 4 |   // NB: We are importing only the implementation of Testing because that framework is not available
 5 |   //     in Xcode UI test targets.
 6 |   @_implementationOnly import Testing
   |                        `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SnapshotTesting' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 7 | #endif
 8 |
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:4:24: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SnapshotTesting' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 2 |   // NB: We are importing only the implementation of Testing because that framework is not available
 3 |   //     in Xcode UI test targets.
 4 |   @_implementationOnly import Testing
   |                        `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'SnapshotTesting' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 5 |
 6 |   @_spi(Experimental)
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:7:13: warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 5 |
 6 |   @_spi(Experimental)
 7 |   extension Trait where Self == _SnapshotsTestTrait {
   |             `- warning: cannot use protocol 'Trait' in an extension with public or '@usableFromInline' members; 'Testing' has been imported as implementation-only
 8 |     /// Configure snapshot testing in a suite or test.
 9 |     ///
Testing.Trait:1:17: note: protocol declared here
1 | public protocol Trait : Sendable {
  |                 `- note: protocol declared here
2 |     func prepare(for test: Test) async throws
3 |     var comments: [Comment] { get }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:38: warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                      `- warning: cannot use protocol 'SuiteTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.SuiteTrait:1:17: note: protocol declared here
1 | public protocol SuiteTrait : Trait {
  |                 `- note: protocol declared here
2 |     var isRecursive: Bool { get }
3 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:50: warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                                                  `- warning: cannot use protocol 'TestTrait' in a public or '@usableFromInline' conformance; 'Testing' has been imported as implementation-only
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
Testing.TestTrait:1:17: note: protocol declared here
1 | public protocol TestTrait : Trait {
  |                 `- note: protocol declared here
2 | }
/host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift:37:17: error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
35 |   /// A type representing the configuration of snapshot testing.
36 |   @_spi(Experimental)
37 |   public struct _SnapshotsTestTrait: SuiteTrait, TestTrait {
   |                 |- error: cannot use conformance of 'Never' to 'TestScoping' here; 'Testing' has been imported as implementation-only
   |                 `- note: in associated type 'Self.TestScopeProvider' (inferred as 'Never')
38 |     public let isRecursive = true
39 |     let configuration: SnapshotTestingConfiguration
/host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift:168:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
166 |     }
167 |   #else
168 |     open var snapshotDescription: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
169 |       return purgePointers(self.debugDescription)
170 |     }
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SnapshotTesting/AssertSnapshot.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Async.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Common/Internal.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Common/PlistEncoder.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Common/String+SpecialCharacters.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Common/View.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Common/XCTAttachment.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Diff.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Diffing.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Extensions/Wait.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Internal/Deprecations.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Internal/RecordIssue.swift /host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotTestingConfiguration.swift /host/spi-builder-workspace/Sources/SnapshotTesting/SnapshotsTestTrait.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Any.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/CALayer.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/CGPath.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/CaseIterable.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Data.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/Encodable.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSImage.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSView.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/NSViewController.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SceneKit.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SpriteKit.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/String.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/SwiftUIView.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/UIBezierPath.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/UIImage.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/UIView.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/UIViewController.swift /host/spi-builder-workspace/Sources/SnapshotTesting/Snapshotting/URLRequest.swift -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 5 -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 -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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-snapshot-testing.build/Debug-linux-x86_64/SnapshotTesting-t.build/Objects-normal/x86_64/Modules/SnapshotTesting.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-snapshot-testing.build/Debug-linux-x86_64/SnapshotTesting-t.build/Objects-normal/x86_64/Modules/SnapshotTesting.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-snapshot-testing.build/Debug-linux-x86_64/SnapshotTesting-t.build/Objects-normal/x86_64/SnapshotTesting-Swift.h -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/SnapshotTesting-primary-emit-module.dia -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/SnapshotTesting-primary-emit-module.d -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/Modules/SnapshotTesting.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux