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 with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.42.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lyft/hammer.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/lyft/hammer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 00b5164 Fix merge conflict in HammerTests.podspec (#59)
Cloned https://github.com/lyft/hammer.git
Revision (git rev-parse @):
00b516485de2456c6a56eb59078229a6f512088b
SUCCESS checkout https://github.com/lyft/hammer.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/lyft/hammer.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/19] Emitting module Hammer
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[2/21] Compiling Hammer AppleInternal+BackBoardServices.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[3/21] Compiling Hammer AppleInternal+IOHID.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[4/21] Compiling Hammer AppleInternal+UIKit.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[5/21] Compiling Hammer DebugVisualizerWindow.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[6/21] Compiling Hammer EventGenerator+Hand.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[7/21] Compiling Hammer FingerIndex.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[8/21] Compiling Hammer Subviews.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[9/21] Compiling Hammer TouchStorage.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[10/21] Compiling Hammer HandInfo.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[11/21] Compiling Hammer EventGenerator+Keyboard.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[12/21] Compiling Hammer KeyboardKey.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[13/21] Compiling Hammer EventGenerator+Marker.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[14/21] Compiling Hammer EventGenerator+Stylus.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[15/21] Compiling Hammer StylusInfo.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[16/21] Compiling Hammer CoreGraphic+Extensions.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[17/21] Compiling Hammer HammerError.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[18/21] Compiling Hammer UIKit+Extensions.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[19/21] Compiling Hammer Waiting.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[20/21] Compiling Hammer EventGenerator.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
[21/21] Compiling Hammer HammerLocatable.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
import Darwin
       ^
BUILD FAILURE 5.8 linux