The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Nimble-SnapshotTesting, reference main (4262f2), with Swift 6.2 for Linux on 9 Dec 2025 20:32:55 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/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/tahirmt/nimble-snapshottesting.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/tahirmt/nimble-snapshottesting
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4262f24 Remove recordDelay argument (#23)
Cloned https://github.com/tahirmt/nimble-snapshottesting.git
Revision (git rev-parse @):
4262f2410da1326c25b5e17bb560ac9c4caada8f
SUCCESS checkout https://github.com/tahirmt/nimble-snapshottesting.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tahirmt/nimble-snapshottesting.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/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:36dcf51aceebb7518dd97346bbe30fd556b23ffe7a4d72d70473700580e8e541
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/Quick/Nimble.git
[1/14859] Fetching quick
[14118/34663] Fetching quick, nimble
[18029/50296] Fetching quick, nimble, swift-snapshot-testing
Fetched https://github.com/Quick/Nimble.git from cache (2.67s)
[19237/30492] Fetching quick, swift-snapshot-testing
Fetched https://github.com/Quick/Quick.git from cache (4.84s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (4.92s)
Computing version for https://github.com/Quick/Nimble.git
warning: 'nimble': /Package.swift:4:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
 2 | import PackageDescription
 3 |
 4 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 5 |     name: "Nimble",
 6 |     platforms: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/Quick/Nimble.git at 14.0.0 (5.81s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.28s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (3.92s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.27s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.69s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 7.6.2 (1.14s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/16877] Fetching swift-argument-parser
[2/22918] Fetching swift-argument-parser, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.55s)
[16540/16877] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.90s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.08s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.07s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.38s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.7 (0.38s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4651] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.36s)
[1/73034] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (8.42s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (9.07s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5600] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.12s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (2.15s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.0 (0.66s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 14.0.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.8.0
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
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.7
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 7.6.2
warning: 'nimble': /host/spi-builder-workspace/.build/checkouts/Nimble/Package.swift:4:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
 2 | import PackageDescription
 3 |
 4 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 5 |     name: "Nimble",
 6 |     platforms: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.85s)
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/PrivacyInfo.xcprivacy
[1/1] Compiling plugin LintCommandPlugin
[2/2] Compiling plugin LintWarning
[3/3] Compiling plugin LintError
[4/4] Compiling plugin DefocusCommandPlugin
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/11] Write sources
[9/11] Write swift-version-24593BA9C3E375BF.txt
[11/104] Emitting module SnapshotTesting
[12/108] Emitting module Nimble
[13/116] Compiling SnapshotTesting UIImage.swift
[14/116] Compiling SnapshotTesting UIView.swift
[15/116] Compiling SnapshotTesting UIViewController.swift
[16/116] Compiling SnapshotTesting URLRequest.swift
[17/116] Compiling Nimble SatisfyAllOf.swift
[18/116] Compiling Nimble SatisfyAnyOf.swift
[19/116] Compiling Nimble ThrowAssertion.swift
[20/116] Compiling Nimble ThrowError.swift
[25/116] Compiling Nimble ToSucceed.swift
[26/116] Compiling Nimble Polling+AsyncAwait.swift
[27/116] Compiling Nimble Polling+Require.swift
[28/116] Compiling Nimble Polling.swift
[29/116] Compiling Nimble Map.swift
[30/116] Compiling Nimble Match.swift
[31/116] Compiling Nimble MatchError.swift
[32/116] Compiling Nimble Matcher.swift
[33/116] Compiling Nimble MatcherProtocols.swift
[34/116] Compiling Nimble Negation.swift
[35/116] Compiling Nimble PostNotification.swift
[36/116] Compiling Nimble RaisesException.swift
[37/116] Compiling Nimble AssertionDispatcher.swift
[38/116] Compiling Nimble AssertionRecorder+Async.swift
[39/116] Compiling Nimble AssertionRecorder.swift
[40/116] Compiling Nimble NMBExpectation.swift
[41/116] Compiling Nimble BeginWithPrefix.swift
[42/116] Compiling Nimble Contain.swift
[43/116] Compiling Nimble ContainElementSatisfying.swift
[44/116] Compiling Nimble ElementsEqual.swift
[45/116] Compiling Nimble EndWith.swift
[46/116] Compiling Nimble Equal+Tuple.swift
[47/116] Compiling Nimble Equal+TupleArray.swift
[48/116] Compiling Nimble Equal.swift
[49/116] Compiling Nimble HaveCount.swift
[50/116] Compiling Nimble AllPass.swift
[51/116] Compiling Nimble AsyncAllPass.swift
[52/116] Compiling Nimble AsyncMatcher.swift
[53/116] Compiling Nimble BeAKindOf.swift
[54/116] Compiling Nimble BeAnInstanceOf.swift
[55/116] Compiling Nimble BeCloseTo.swift
[56/116] Compiling Nimble BeEmpty.swift
[57/116] Compiling Nimble BeGreaterThan.swift
[58/116] Compiling Nimble BeGreaterThanOrEqualTo.swift
[59/116] Compiling Nimble AdapterProtocols.swift
[68/116] Compiling Nimble AsyncExpression.swift
[69/116] Compiling Nimble DSL+AsyncAwait.swift
[70/116] Compiling Nimble DSL+Require.swift
[71/116] Compiling Nimble DSL+Wait.swift
[72/116] Compiling Nimble DSL.swift
[73/116] Compiling Nimble Expectation.swift
[74/116] Compiling Nimble ExpectationMessage.swift
[75/116] Compiling Nimble Expression.swift
[76/116] Compiling Nimble FailureMessage.swift
[94/116] Compiling Nimble BeIdenticalTo.swift
[95/116] Compiling Nimble BeLessThan.swift
[96/116] Compiling Nimble BeLessThanOrEqual.swift
[97/116] Compiling Nimble BeLogical.swift
[98/116] Compiling Nimble BeNil.swift
[99/116] Compiling Nimble BeResult.swift
[100/116] Compiling Nimble BeVoid.swift
[101/116] Compiling Nimble BeWithin.swift
[102/116] Compiling Nimble BeginWith.swift
[103/116] Compiling Nimble Requirement.swift
[104/116] Compiling Nimble AsyncAwait.swift
[105/116] Compiling Nimble AsyncTimerSequence.swift
[106/116] Compiling Nimble Errors.swift
[107/116] Compiling Nimble NimbleTimeInterval.swift
[108/116] Compiling Nimble PollAwait.swift
[109/116] Compiling Nimble SourceLocation.swift
[110/116] Compiling Nimble Stringers.swift
[118/123] Compiling Nimble_SnapshotTesting CurrentTestCaseTracker.swift
/host/spi-builder-workspace/Sources/Nimble-SnapshotTesting/CurrentTestCaseTracker.swift:4:2: error: Objective-C interoperability is disabled
 2 |
 3 | /// Helper class providing access to the currently executing XCTestCase instance, if any
 4 | @objc
   |  `- error: Objective-C interoperability is disabled
 5 | public final class CurrentTestCaseTracker: NSObject, XCTestObservation {
 6 |     @objc public static let shared = CurrentTestCaseTracker()
/host/spi-builder-workspace/Sources/Nimble-SnapshotTesting/CurrentTestCaseTracker.swift:6:6: error: Objective-C interoperability is disabled
 4 | @objc
 5 | public final class CurrentTestCaseTracker: NSObject, XCTestObservation {
 6 |     @objc public static let shared = CurrentTestCaseTracker()
   |      `- error: Objective-C interoperability is disabled
 7 |
 8 |     private(set) var currentTestCase: XCTestCase?
/host/spi-builder-workspace/Sources/Nimble-SnapshotTesting/CurrentTestCaseTracker.swift:10:6: error: Objective-C interoperability is disabled
 8 |     private(set) var currentTestCase: XCTestCase?
 9 |
10 |     @objc
   |      `- error: Objective-C interoperability is disabled
11 |     public func testCaseWillStart(_ testCase: XCTestCase) {
12 |         currentTestCase = testCase
/host/spi-builder-workspace/Sources/Nimble-SnapshotTesting/CurrentTestCaseTracker.swift:15:6: error: Objective-C interoperability is disabled
13 |     }
14 |
15 |     @objc
   |      `- error: Objective-C interoperability is disabled
16 |     public func testCaseDidFinish(_ testCase: XCTestCase) {
17 |         currentTestCase = nil
/host/spi-builder-workspace/Sources/Nimble-SnapshotTesting/CurrentTestCaseTracker.swift:33:66: error: value of type 'XCTestCase' has no member 'isKind'
31 |         let name = fullName.components(separatedBy: characterSet).joined()
32 |
33 |         if let quickClass = NSClassFromString("QuickSpec"), self.isKind(of: quickClass) {
   |                                                                  `- error: value of type 'XCTestCase' has no member 'isKind'
34 |             let className = String(describing: type(of: self))
35 |             if let range = name.range(of: className), range.lowerBound == name.startIndex {
[119/123] Compiling Nimble_SnapshotTesting Atomic.swift
[120/123] Compiling Nimble_SnapshotTesting PrettySyntax.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[121/123] Emitting module Nimble_SnapshotTesting
/host/spi-builder-workspace/Sources/Nimble-SnapshotTesting/CurrentTestCaseTracker.swift:4:2: error: Objective-C interoperability is disabled
 2 |
 3 | /// Helper class providing access to the currently executing XCTestCase instance, if any
 4 | @objc
   |  `- error: Objective-C interoperability is disabled
 5 | public final class CurrentTestCaseTracker: NSObject, XCTestObservation {
 6 |     @objc public static let shared = CurrentTestCaseTracker()
/host/spi-builder-workspace/Sources/Nimble-SnapshotTesting/CurrentTestCaseTracker.swift:6:6: error: Objective-C interoperability is disabled
 4 | @objc
 5 | public final class CurrentTestCaseTracker: NSObject, XCTestObservation {
 6 |     @objc public static let shared = CurrentTestCaseTracker()
   |      `- error: Objective-C interoperability is disabled
 7 |
 8 |     private(set) var currentTestCase: XCTestCase?
/host/spi-builder-workspace/Sources/Nimble-SnapshotTesting/CurrentTestCaseTracker.swift:10:6: error: Objective-C interoperability is disabled
 8 |     private(set) var currentTestCase: XCTestCase?
 9 |
10 |     @objc
   |      `- error: Objective-C interoperability is disabled
11 |     public func testCaseWillStart(_ testCase: XCTestCase) {
12 |         currentTestCase = testCase
/host/spi-builder-workspace/Sources/Nimble-SnapshotTesting/CurrentTestCaseTracker.swift:15:6: error: Objective-C interoperability is disabled
13 |     }
14 |
15 |     @objc
   |      `- error: Objective-C interoperability is disabled
16 |     public func testCaseDidFinish(_ testCase: XCTestCase) {
17 |         currentTestCase = nil
[122/123] Compiling Nimble_SnapshotTesting HaveValidSnapshot.swift
BUILD FAILURE 6.2 linux