The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Hammer, reference main (3210dd), with Swift 5.10 for macOS (SPM) on 22 Sep 2024 16:38:05 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lyft/hammer.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lyft/hammer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3210dd6 Improve lifecycle (#60)
Cloned https://github.com/lyft/hammer.git
Revision (git rev-parse @):
3210dd6f63f1dc98086f68ac5ae21004ed013401
SUCCESS checkout https://github.com/lyft/hammer.git at main
========================================
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",
  "dependencies": [
    {
      "identity": "hammer",
      "name": "Hammer",
      "url": "https://github.com/lyft/hammer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/hammer",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/lyft/hammer.git
[1/786] Fetching hammer
Fetched https://github.com/lyft/hammer.git from cache (1.44s)
Creating working copy for https://github.com/lyft/hammer.git
Working copy of https://github.com/lyft/hammer.git resolved at main (3210dd6)
warning: '.resolve-product-dependencies': dependency 'hammer' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/lyft/hammer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/22] Emitting module Hammer
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[4/24] Compiling Hammer UIKit+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[5/24] Compiling Hammer Waiting.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[6/24] Compiling Hammer Subviews.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[7/24] Compiling Hammer TouchStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[8/24] Compiling Hammer HammerError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[9/24] Compiling Hammer HammerWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[10/24] Compiling Hammer DebugVisualizerWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[11/24] Compiling Hammer EventGenerator+Hand.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[12/24] Compiling Hammer EventGenerator+Marker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[13/24] Compiling Hammer EventGenerator+Stylus.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[14/24] Compiling Hammer FingerIndex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[15/24] Compiling Hammer HandInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[16/24] Compiling Hammer StylusInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[17/24] Compiling Hammer EventGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[18/24] Compiling Hammer EventGenerator+Keyboard.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[19/24] Compiling Hammer KeyboardKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[20/24] Compiling Hammer HammerLocatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[21/24] Compiling Hammer CoreGraphic+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[22/24] Compiling Hammer AppleInternal+BackBoardServices.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[23/24] Compiling Hammer AppleInternal+IOHID.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[24/24] Compiling Hammer AppleInternal+UIKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+UIKit.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm