Build Information
Failed to build SwiftHaptics, reference 0.1.0 (8990f2), with Swift 6.1 for Wasm on 29 May 2025 22:04:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jochenbernard/swift-haptics.git
Reference: 0.1.0
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/jochenbernard/swift-haptics
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 8990f21 Create LICENSE.txt
Cloned https://github.com/jochenbernard/swift-haptics.git
Revision (git rev-parse @):
8990f213cbc127951e1ba2bf1a7ffe1aae88b692
SUCCESS checkout https://github.com/jochenbernard/swift-haptics.git at 0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jochenbernard/swift-haptics.git
https://github.com/jochenbernard/swift-haptics.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftHaptics",
"name" : "SwiftHaptics",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SwiftHaptics",
"targets" : [
"SwiftHaptics"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftHapticsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftHapticsTests",
"path" : "Tests/SwiftHapticsTests",
"sources" : [
"BaseHapticPatternModifierTests.swift",
"BaseHapticPatternTests.swift",
"CoreHaptics/CHHapticDynamicParameter.swift",
"CoreHaptics/CHHapticEvent.swift",
"CoreHaptics/CHHapticEventParameter.swift",
"CoreHaptics/CHHapticPattern.swift",
"HapticPatternBuilderTests.swift",
"HapticPatternModifierTests/DelayHapticPatternModifierTests.swift",
"HapticPatternModifierTests/MutedHapticPatternModifierTests.swift",
"HapticPatternModifierTests/ScaleHapticPatternModifierTests.swift",
"HapticPatternModifierTests/SpeedHapticPatternModifierTests.swift",
"HapticPatternTests.swift",
"HapticPatternTests/EmptyHapticPatternTests.swift",
"HapticPatternTests/HapticEventTests.swift",
"HapticPatternTests/HapticEventTests/ContinuousHapticEventTests.swift",
"HapticPatternTests/HapticEventTests/TransientHapticEventTests.swift",
"HapticPatternTests/HapticPatternGroupTests.swift",
"HapticPatternTests/HapticPatternListTests.swift",
"HapticPatternTests/MockHapticEvent.swift",
"HapticPatternTests/ModifiedHapticPatternTests.swift",
"MockBaseHapticPattern.swift",
"MockBaseHapticPatternModifier.swift",
"MockHapticPattern.swift",
"MockHapticPatternModifier.swift"
],
"target_dependencies" : [
"SwiftHaptics"
],
"type" : "test"
},
{
"c99name" : "SwiftHaptics",
"module_type" : "SwiftTarget",
"name" : "SwiftHaptics",
"path" : "Sources/SwiftHaptics",
"product_memberships" : [
"SwiftHaptics"
],
"sources" : [
"BaseHapticPattern.swift",
"BaseHapticPatternModifier.swift",
"HapticEngine.swift",
"HapticPattern.swift",
"HapticPatternBuilder.swift",
"HapticPatternModifier.swift",
"HapticPatternModifiers/DelayHapticPatternModifier.swift",
"HapticPatternModifiers/MutedHapticPatternModifier.swift",
"HapticPatternModifiers/ScaleHapticPatternModifier.swift",
"HapticPatternModifiers/SpeedHapticPatternModifier.swift",
"HapticPatterns/EmptyHapticPattern.swift",
"HapticPatterns/HapticEvent.swift",
"HapticPatterns/HapticEvents/ContinuousHapticEvent.swift",
"HapticPatterns/HapticEvents/TransientHapticEvent.swift",
"HapticPatterns/HapticPatternGroup.swift",
"HapticPatterns/HapticPatternList.swift",
"HapticPatterns/ModifiedHapticPattern.swift",
"ViewModifiers/HapticsViewModifier.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/19] Emitting module SwiftHaptics
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[4/21] Compiling SwiftHaptics BaseHapticPattern.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[5/21] Compiling SwiftHaptics BaseHapticPatternModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[6/21] Compiling SwiftHaptics HapticEngine.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[7/21] Compiling SwiftHaptics ContinuousHapticEvent.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[8/21] Compiling SwiftHaptics TransientHapticEvent.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[9/21] Compiling SwiftHaptics ScaleHapticPatternModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[10/21] Compiling SwiftHaptics SpeedHapticPatternModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[11/21] Compiling SwiftHaptics ModifiedHapticPattern.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[12/21] Compiling SwiftHaptics HapticsViewModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[13/21] Compiling SwiftHaptics HapticPatternGroup.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[14/21] Compiling SwiftHaptics HapticPatternList.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[15/21] Compiling SwiftHaptics EmptyHapticPattern.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[16/21] Compiling SwiftHaptics HapticEvent.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[17/21] Compiling SwiftHaptics HapticPattern.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[18/21] Compiling SwiftHaptics HapticPatternBuilder.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[19/21] Compiling SwiftHaptics HapticPatternModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[20/21] Compiling SwiftHaptics DelayHapticPatternModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[21/21] Compiling SwiftHaptics MutedHapticPatternModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/18] Emitting module SwiftHaptics
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[3/20] Compiling SwiftHaptics HapticPatternGroup.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[4/20] Compiling SwiftHaptics HapticPatternList.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[5/20] Compiling SwiftHaptics HapticPattern.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[6/20] Compiling SwiftHaptics HapticPatternBuilder.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[7/20] Compiling SwiftHaptics HapticPatternModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[8/20] Compiling SwiftHaptics ModifiedHapticPattern.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[9/20] Compiling SwiftHaptics HapticsViewModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[10/20] Compiling SwiftHaptics ContinuousHapticEvent.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[11/20] Compiling SwiftHaptics TransientHapticEvent.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[12/20] Compiling SwiftHaptics EmptyHapticPattern.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[13/20] Compiling SwiftHaptics HapticEvent.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[14/20] Compiling SwiftHaptics ScaleHapticPatternModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[15/20] Compiling SwiftHaptics SpeedHapticPatternModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[16/20] Compiling SwiftHaptics DelayHapticPatternModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[17/20] Compiling SwiftHaptics MutedHapticPatternModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[18/20] Compiling SwiftHaptics BaseHapticPattern.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[19/20] Compiling SwiftHaptics BaseHapticPatternModifier.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
[20/20] Compiling SwiftHaptics HapticEngine.swift
/host/spi-builder-workspace/Sources/SwiftHaptics/HapticEngine.swift:1:8: error: no such module 'CoreHaptics'
1 | import CoreHaptics
| `- error: no such module 'CoreHaptics'
2 |
3 | /// An object that represents the connection to the haptic server.
BUILD FAILURE 6.1 wasm