The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Nimble-SnapshotTesting, reference v5.0.1 (4262f2), with Swift 6.2 for Linux on 9 Dec 2025 20:30:21 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tahirmt/nimble-snapshottesting.git
Reference: v5.0.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/tahirmt/nimble-snapshottesting
 * tag               v5.0.1     -> FETCH_HEAD
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 v5.0.1
========================================
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-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: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
[7877/34663] Fetching quick, nimble
[27535/50296] Fetching quick, nimble, swift-snapshot-testing
Fetched https://github.com/Quick/Nimble.git from cache (1.97s)
[19237/30492] Fetching quick, swift-snapshot-testing
Fetched https://github.com/Quick/Quick.git from cache (3.72s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.81s)
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 (4.40s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.77s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (3.07s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (3.67s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (4.21s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 7.6.2 (0.50s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6041] Fetching swift-algorithms
[847/22918] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (1.02s)
[9114/16877] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.37s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.16s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.33s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.73s)
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.43s)
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/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4651] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.32s)
[1/73034] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (8.57s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (9.33s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5600] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.82s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (1.51s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.0 (0.43s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 7.6.2
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/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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/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/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/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/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/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/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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
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.82s)
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] Compiling Nimble BeGreaterThanOrEqualTo.swift
[13/108] Compiling Nimble Map.swift
[14/108] Compiling Nimble Match.swift
[15/108] Compiling Nimble MatchError.swift
[16/108] Compiling Nimble BeAnInstanceOf.swift
[17/108] Compiling Nimble BeCloseTo.swift
[18/108] Compiling Nimble BeEmpty.swift
[19/108] Compiling Nimble BeGreaterThan.swift
[23/108] Compiling SnapshotTesting UIImage.swift
[24/108] Compiling SnapshotTesting UIView.swift
[25/108] Compiling SnapshotTesting UIViewController.swift
[26/108] Compiling SnapshotTesting URLRequest.swift
[27/108] Compiling Nimble RaisesException.swift
[28/116] Compiling Nimble DSL+AsyncAwait.swift
[29/116] Compiling Nimble DSL+Require.swift
[30/116] Compiling Nimble DSL+Wait.swift
[31/116] Compiling Nimble DSL.swift
[32/116] Compiling Nimble AllPass.swift
[33/116] Compiling Nimble AsyncAllPass.swift
[34/116] Compiling Nimble AsyncMatcher.swift
[35/116] Compiling Nimble BeAKindOf.swift
[36/116] Compiling Nimble Expectation.swift
[37/116] Compiling Nimble ExpectationMessage.swift
[38/116] Compiling Nimble Expression.swift
[39/116] Compiling Nimble FailureMessage.swift
[49/116] Compiling Nimble AsyncExpression.swift
[58/116] Compiling Nimble NimbleEnvironment.swift
[59/116] Compiling Nimble NimbleSwiftTestingHandler.swift
[60/116] Compiling Nimble NimbleXCTestHandler.swift
[61/116] Compiling Nimble ExceptionCapture.swift
[63/116] Compiling Nimble SatisfyAllOf.swift
[64/116] Compiling Nimble SatisfyAnyOf.swift
[65/116] Compiling Nimble ThrowAssertion.swift
[66/116] Compiling Nimble ThrowError.swift
[67/116] Compiling Nimble ToSucceed.swift
[68/116] Compiling Nimble Polling+AsyncAwait.swift
[69/116] Compiling Nimble Polling+Require.swift
[70/116] Compiling Nimble Polling.swift
[71/116] Compiling Nimble BeginWithPrefix.swift
[72/116] Compiling Nimble Contain.swift
[73/116] Compiling Nimble ContainElementSatisfying.swift
[74/116] Compiling Nimble ElementsEqual.swift
[75/116] Compiling Nimble EndWith.swift
[76/116] Compiling Nimble Equal+Tuple.swift
[77/116] Compiling Nimble Equal+TupleArray.swift
[78/116] Compiling Nimble Equal.swift
[79/116] Compiling Nimble HaveCount.swift
[84/116] Compiling Nimble BeIdenticalTo.swift
[85/116] Compiling Nimble BeLessThan.swift
[86/116] Compiling Nimble BeLessThanOrEqual.swift
[87/116] Compiling Nimble BeLogical.swift
[88/116] Compiling Nimble BeNil.swift
[89/116] Compiling Nimble BeResult.swift
[90/116] Compiling Nimble BeVoid.swift
[91/116] Compiling Nimble BeWithin.swift
[92/116] Compiling Nimble BeginWith.swift
[93/116] Compiling Nimble AdapterProtocols.swift
[94/116] Compiling Nimble AssertionDispatcher.swift
[95/116] Compiling Nimble AssertionRecorder+Async.swift
[96/116] Compiling Nimble AssertionRecorder.swift
[97/116] Compiling Nimble NMBExpectation.swift
[98/117] Emitting module Nimble
[109/117] Compiling Nimble Requirement.swift
[110/117] Compiling Nimble AsyncAwait.swift
[111/117] Compiling Nimble AsyncTimerSequence.swift
[112/117] Compiling Nimble Errors.swift
[113/117] Compiling Nimble NimbleTimeInterval.swift
[114/117] Compiling Nimble PollAwait.swift
[115/117] Compiling Nimble SourceLocation.swift
[116/117] Compiling Nimble Stringers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[118/123] Compiling Nimble_SnapshotTesting PrettySyntax.swift
[119/123] Compiling Nimble_SnapshotTesting Atomic.swift
[120/123] Compiling Nimble_SnapshotTesting HaveValidSnapshot.swift
[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 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 {
BUILD FAILURE 6.2 linux