The Swift Package Index logo.Swift Package Index

Build Information

Failed to build StreamSwiftTestHelpers, reference main (b7a09e), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 13:49:03 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GetStream/stream-chat-swift-test-helpers.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/GetStream/stream-chat-swift-test-helpers
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b7a09e5 Remove Difference
Cloned https://github.com/GetStream/stream-chat-swift-test-helpers.git
Revision (git rev-parse @):
b7a09e53a6647df94c02a67770ec876faa707f9d
SUCCESS checkout https://github.com/GetStream/stream-chat-swift-test-helpers.git at main
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16065] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.70s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.11.1 (4.29s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.11.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "stream-chat-swift-test-helpers",
      "name": "StreamSwiftTestHelpers",
      "url": "https://github.com/GetStream/stream-chat-swift-test-helpers.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/stream-chat-swift-test-helpers",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-snapshot-testing",
          "name": "swift-snapshot-testing",
          "url": "https://github.com/pointfreeco/swift-snapshot-testing",
          "version": "1.11.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/GetStream/stream-chat-swift-test-helpers.git
[1/295] Fetching stream-chat-swift-test-helpers
Fetched https://github.com/GetStream/stream-chat-swift-test-helpers.git from cache (0.77s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (0.54s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.11.1 (0.61s)
Creating working copy for https://github.com/GetStream/stream-chat-swift-test-helpers.git
Working copy of https://github.com/GetStream/stream-chat-swift-test-helpers.git resolved at main (b7a09e5)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.11.1
warning: '.resolve-product-dependencies': dependency 'stream-chat-swift-test-helpers' is not used by any target
Found 1 product dependencies
  - swift-snapshot-testing
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/GetStream/stream-chat-swift-test-helpers.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/34] Emitting module SnapshotTesting
[5/37] Compiling SnapshotTesting UIView.swift
[6/37] Compiling SnapshotTesting UIViewController.swift
[7/37] Compiling SnapshotTesting URLRequest.swift
[8/37] Compiling SnapshotTesting AssertInlineSnapshot.swift
[9/37] Compiling SnapshotTesting AssertSnapshot.swift
[10/37] Compiling SnapshotTesting Async.swift
[11/37] Compiling SnapshotTesting Internal.swift
[12/37] Compiling SnapshotTesting NSImage.swift
[13/37] Compiling SnapshotTesting NSView.swift
[14/37] Compiling SnapshotTesting NSViewController.swift
[15/37] Compiling SnapshotTesting Diff.swift
[16/37] Compiling SnapshotTesting Diffing.swift
[17/37] Compiling SnapshotTesting Wait.swift
[18/37] Compiling SnapshotTesting SnapshotTestCase.swift
[19/37] Compiling SnapshotTesting Data.swift
[20/37] Compiling SnapshotTesting Description.swift
[21/37] Compiling SnapshotTesting NSBezierPath.swift
[22/37] Compiling SnapshotTesting SceneKit.swift
[23/37] Compiling SnapshotTesting SpriteKit.swift
[24/37] Compiling SnapshotTesting String.swift
[25/37] Compiling SnapshotTesting Snapshotting.swift
[26/37] Compiling SnapshotTesting Any.swift
[27/37] Compiling SnapshotTesting CALayer.swift
[28/37] Compiling SnapshotTesting CGPath.swift
[29/37] Compiling SnapshotTesting CaseIterable.swift
[30/37] Compiling SnapshotTesting Codable.swift
[31/37] Compiling SnapshotTesting SwiftUIView.swift
[32/37] Compiling SnapshotTesting UIBezierPath.swift
[33/37] Compiling SnapshotTesting UIImage.swift
[34/37] Compiling SnapshotTesting PlistEncoder.swift
[35/37] Compiling SnapshotTesting String+SpecialCharacters.swift
[36/37] Compiling SnapshotTesting View.swift
[37/37] Compiling SnapshotTesting XCTAttachment.swift
[38/53] Compiling StreamSwiftTestHelpers XCUIElement+LabelContains.swift
[39/54] Compiling StreamSwiftTestHelpers XCUIApplication.swift
[40/54] Compiling StreamSwiftTestHelpers XCUIElement+Helpers.swift
[41/54] Compiling StreamSwiftTestHelpers XCTestCase+AlertHandler.swift
[42/54] Compiling StreamSwiftTestHelpers XCTestCase+MockJSON.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/54] Compiling StreamSwiftTestHelpers TestRunnerEnvironment.swift
[44/54] Compiling StreamSwiftTestHelpers TestsEnvironmentSetup.swift
[45/54] Compiling StreamSwiftTestHelpers Robot+Assert.swift
[46/54] Compiling StreamSwiftTestHelpers Robot.swift
[47/54] Compiling StreamSwiftTestHelpers XCTest+GivenWhenThenAnd.swift
[48/54] Compiling StreamSwiftTestHelpers XCTest+TestOps.swift
[49/54] Emitting module StreamSwiftTestHelpers
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:33:11: error: cannot find type 'UIViewController' in scope
 31 | ///   so that the newly captured snapshot is compared with the current reference.
 32 | public func AssertSnapshot(
 33 |     _ vc: UIViewController,
    |           `- error: cannot find type 'UIViewController' in scope
 34 |     isEmbeddedInNavigationController: Bool = false,
 35 |     variants: [SnapshotVariant] = SnapshotVariant.all,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:35:16: error: cannot find type 'SnapshotVariant' in scope
 33 |     _ vc: UIViewController,
 34 |     isEmbeddedInNavigationController: Bool = false,
 35 |     variants: [SnapshotVariant] = SnapshotVariant.all,
    |                `- error: cannot find type 'SnapshotVariant' in scope
 36 |     screenSize: CGSize = defaultScreenSize,
 37 |     suffix: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:71:13: error: cannot find type 'UIView' in scope
 69 | ///   so that the newly captured snapshot is compared with the current reference.
 70 | public func AssertSnapshot(
 71 |     _ view: UIView,
    |             `- error: cannot find type 'UIView' in scope
 72 |     variants: [SnapshotVariant] = SnapshotVariant.all,
 73 |     size: CGSize? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:72:16: error: cannot find type 'SnapshotVariant' in scope
 70 | public func AssertSnapshot(
 71 |     _ view: UIView,
 72 |     variants: [SnapshotVariant] = SnapshotVariant.all,
    |                `- error: cannot find type 'SnapshotVariant' in scope
 73 |     size: CGSize? = nil,
 74 |     suffix: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:101:16: error: cannot find type 'SnapshotVariant' in scope
 99 |     _ view: View,
100 |     isEmbeddedInNavigationController: Bool = false,
101 |     variants: [SnapshotVariant] = SnapshotVariant.all,
    |                `- error: cannot find type 'SnapshotVariant' in scope
102 |     screenSize: CGSize = defaultScreenSize,
103 |     suffix: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:98:34: error: cannot find type 'UIViewControllerRepresentable' in scope
 96 | /// Snapshot of a UIViewControllerRepresentable. All variants will be tested by default. For each variant, it will take a snapshot.
 97 | /// This uses the default view controller screen size.
 98 | public func AssertSnapshot<View: UIViewControllerRepresentable>(
    |                                  `- error: cannot find type 'UIViewControllerRepresentable' in scope
 99 |     _ view: View,
100 |     isEmbeddedInNavigationController: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:138:16: error: cannot find type 'SnapshotVariant' in scope
136 | public func AssertSnapshot<View: SwiftUI.View>(
137 |     _ view: View,
138 |     variants: [SnapshotVariant] = SnapshotVariant.all,
    |                `- error: cannot find type 'SnapshotVariant' in scope
139 |     device: ViewImageConfig = .iPhoneX,
140 |     size: CGSize? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:139:13: error: cannot find type 'ViewImageConfig' in scope
137 |     _ view: View,
138 |     variants: [SnapshotVariant] = SnapshotVariant.all,
139 |     device: ViewImageConfig = .iPhoneX,
    |             `- error: cannot find type 'ViewImageConfig' in scope
140 |     size: CGSize? = nil,
141 |     suffix: String? = nil,
[50/54] Compiling StreamSwiftTestHelpers DeviceRobot.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/E2ETesting/DeviceRobot.swift:29:17: error: value of type 'XCUIApplication' has no member 'portrait'
27 |         switch orientation {
28 |         case .portrait:
29 |             app.portrait()
   |                 `- error: value of type 'XCUIApplication' has no member 'portrait'
30 |         case .landscape:
31 |             app.landscape()
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/E2ETesting/DeviceRobot.swift:31:17: error: value of type 'XCUIApplication' has no member 'landscape'
29 |             app.portrait()
30 |         case .landscape:
31 |             app.landscape()
   |                 `- error: value of type 'XCUIApplication' has no member 'landscape'
32 |         }
33 |         return self
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/E2ETesting/DeviceRobot.swift:40:31: error: value of type 'XCUIDevice' has no member 'press'
38 |         switch state {
39 |         case .background:
40 |             XCUIDevice.shared.press(XCUIDevice.Button.home)
   |                               `- error: value of type 'XCUIDevice' has no member 'press'
41 |         case .foreground:
42 |             app.activate()
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/E2ETesting/DeviceRobot.swift:40:48: error: type 'XCUIDevice' has no member 'Button'
38 |         switch state {
39 |         case .background:
40 |             XCUIDevice.shared.press(XCUIDevice.Button.home)
   |                                                `- error: type 'XCUIDevice' has no member 'Button'
41 |         case .foreground:
42 |             app.activate()
[51/54] Compiling StreamSwiftTestHelpers ElementState.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/E2ETesting/DeviceRobot.swift:29:17: error: value of type 'XCUIApplication' has no member 'portrait'
27 |         switch orientation {
28 |         case .portrait:
29 |             app.portrait()
   |                 `- error: value of type 'XCUIApplication' has no member 'portrait'
30 |         case .landscape:
31 |             app.landscape()
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/E2ETesting/DeviceRobot.swift:31:17: error: value of type 'XCUIApplication' has no member 'landscape'
29 |             app.portrait()
30 |         case .landscape:
31 |             app.landscape()
   |                 `- error: value of type 'XCUIApplication' has no member 'landscape'
32 |         }
33 |         return self
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/E2ETesting/DeviceRobot.swift:40:31: error: value of type 'XCUIDevice' has no member 'press'
38 |         switch state {
39 |         case .background:
40 |             XCUIDevice.shared.press(XCUIDevice.Button.home)
   |                               `- error: value of type 'XCUIDevice' has no member 'press'
41 |         case .foreground:
42 |             app.activate()
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/E2ETesting/DeviceRobot.swift:40:48: error: type 'XCUIDevice' has no member 'Button'
38 |         switch state {
39 |         case .background:
40 |             XCUIDevice.shared.press(XCUIDevice.Button.home)
   |                                                `- error: type 'XCUIDevice' has no member 'Button'
41 |         case .foreground:
42 |             app.activate()
[52/54] Compiling StreamSwiftTestHelpers SnapshotVariant.swift
[53/54] Compiling StreamSwiftTestHelpers XCUIElementQuery+Helpers.swift
[54/54] Compiling StreamSwiftTestHelpers AssertSnapshot.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:33:11: error: cannot find type 'UIViewController' in scope
 31 | ///   so that the newly captured snapshot is compared with the current reference.
 32 | public func AssertSnapshot(
 33 |     _ vc: UIViewController,
    |           `- error: cannot find type 'UIViewController' in scope
 34 |     isEmbeddedInNavigationController: Bool = false,
 35 |     variants: [SnapshotVariant] = SnapshotVariant.all,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:35:16: error: cannot find type 'SnapshotVariant' in scope
 33 |     _ vc: UIViewController,
 34 |     isEmbeddedInNavigationController: Bool = false,
 35 |     variants: [SnapshotVariant] = SnapshotVariant.all,
    |                `- error: cannot find type 'SnapshotVariant' in scope
 36 |     screenSize: CGSize = defaultScreenSize,
 37 |     suffix: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:71:13: error: cannot find type 'UIView' in scope
 69 | ///   so that the newly captured snapshot is compared with the current reference.
 70 | public func AssertSnapshot(
 71 |     _ view: UIView,
    |             `- error: cannot find type 'UIView' in scope
 72 |     variants: [SnapshotVariant] = SnapshotVariant.all,
 73 |     size: CGSize? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:72:16: error: cannot find type 'SnapshotVariant' in scope
 70 | public func AssertSnapshot(
 71 |     _ view: UIView,
 72 |     variants: [SnapshotVariant] = SnapshotVariant.all,
    |                `- error: cannot find type 'SnapshotVariant' in scope
 73 |     size: CGSize? = nil,
 74 |     suffix: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:101:16: error: cannot find type 'SnapshotVariant' in scope
 99 |     _ view: View,
100 |     isEmbeddedInNavigationController: Bool = false,
101 |     variants: [SnapshotVariant] = SnapshotVariant.all,
    |                `- error: cannot find type 'SnapshotVariant' in scope
102 |     screenSize: CGSize = defaultScreenSize,
103 |     suffix: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:98:34: error: cannot find type 'UIViewControllerRepresentable' in scope
 96 | /// Snapshot of a UIViewControllerRepresentable. All variants will be tested by default. For each variant, it will take a snapshot.
 97 | /// This uses the default view controller screen size.
 98 | public func AssertSnapshot<View: UIViewControllerRepresentable>(
    |                                  `- error: cannot find type 'UIViewControllerRepresentable' in scope
 99 |     _ view: View,
100 |     isEmbeddedInNavigationController: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:138:16: error: cannot find type 'SnapshotVariant' in scope
136 | public func AssertSnapshot<View: SwiftUI.View>(
137 |     _ view: View,
138 |     variants: [SnapshotVariant] = SnapshotVariant.all,
    |                `- error: cannot find type 'SnapshotVariant' in scope
139 |     device: ViewImageConfig = .iPhoneX,
140 |     size: CGSize? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:139:13: error: cannot find type 'ViewImageConfig' in scope
137 |     _ view: View,
138 |     variants: [SnapshotVariant] = SnapshotVariant.all,
139 |     device: ViewImageConfig = .iPhoneX,
    |             `- error: cannot find type 'ViewImageConfig' in scope
140 |     size: CGSize? = nil,
141 |     suffix: String? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:43:61: error: cannot find 'UINavigationController' in scope
 41 |     function: String = #function
 42 | ) {
 43 |     let viewController = isEmbeddedInNavigationController ? UINavigationController(rootViewController: vc) : vc
    |                                                             `- error: cannot find 'UINavigationController' in scope
 44 |
 45 |     variants.forEach { variant in
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:48:18: error: cannot call value of non-function type 'Snapshotting<CALayer, NSImage>'
 46 |         assertSnapshot(
 47 |             matching: viewController,
 48 |             as: .image(perceptualPrecision: precision, size: screenSize, traits: variant.traits),
    |                  `- error: cannot call value of non-function type 'Snapshotting<CALayer, NSImage>'
 49 |             named: variant.snapshotName + (suffix.map { "." + $0 } ?? ""),
 50 |             record: overrideRecording ?? record,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:80:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 78 |     function: String = #function
 79 | ) {
 80 |     variants.forEach { variant in
    |     `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 81 |         assertSnapshot(
 82 |             matching: view,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:109:21: error: cannot find 'UIHostingController' in scope
107 |     function: String = #function
108 | ) {
109 |     let hostingVC = UIHostingController(rootView: view)
    |                     `- error: cannot find 'UIHostingController' in scope
110 |     AssertSnapshot(
111 |         hostingVC,
/Users/admin/builder/spi-builder-workspace/Sources/TestHelpers/SnapshotTesting/AssertSnapshot.swift:148:76: error: type 'SwiftUISnapshotLayout' has no member 'device'
146 | ) {
147 |     variants.forEach { variant in
148 |         let layout: SwiftUISnapshotLayout = size != nil ? .sizeThatFits : .device(config: device)
    |                                                                            `- error: type 'SwiftUISnapshotLayout' has no member 'device'
149 |         assertSnapshot(
150 |             matching: view,
BUILD FAILURE 6.3 macosSpm