The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build HealthKitWorkoutSplits, reference 1.0.0 (8f86bc), with Swift 6.0 for Linux on 12 Nov 2025 21:42:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.0-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/jagreenwood/healthkit-workout-splits.git
Reference: 1.0.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/jagreenwood/healthkit-workout-splits
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 8f86bc6 Example app
Cloned https://github.com/jagreenwood/healthkit-workout-splits.git
Revision (git rev-parse @):
8f86bc60aa304a2ef0e63bb64bcf8e17a06836f0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jagreenwood/healthkit-workout-splits.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jagreenwood/healthkit-workout-splits.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:046a2cda21bb64b2d09e6d52c84584e938ec1698de194871f3d7088597b2bb28
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/10] Emitting module HealthKitWorkoutSplits
/host/spi-builder-workspace/Sources/HealthKitWorkoutSplits/Extensions/HKWorkout+Extensions.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // MARK: - HKWorkout Convenience Extensions
[4/11] Compiling HealthKitWorkoutSplits WorkoutSplit.swift
/host/spi-builder-workspace/Sources/HealthKitWorkoutSplits/Extensions/HKWorkout+Extensions.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // MARK: - HKWorkout Convenience Extensions
[5/11] Compiling HealthKitWorkoutSplits DistanceSampleProcessor.swift
/host/spi-builder-workspace/Sources/HealthKitWorkoutSplits/Extensions/HKWorkout+Extensions.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // MARK: - HKWorkout Convenience Extensions
[6/11] Compiling HealthKitWorkoutSplits SplitAggregator.swift
/host/spi-builder-workspace/Sources/HealthKitWorkoutSplits/Extensions/HKWorkout+Extensions.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // MARK: - HKWorkout Convenience Extensions
[7/11] Compiling HealthKitWorkoutSplits SplitConfiguration.swift
/host/spi-builder-workspace/Sources/HealthKitWorkoutSplits/Extensions/HKWorkout+Extensions.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // MARK: - HKWorkout Convenience Extensions
[8/11] Compiling HealthKitWorkoutSplits Measurement+Extensions.swift
/host/spi-builder-workspace/Sources/HealthKitWorkoutSplits/Extensions/HKWorkout+Extensions.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // MARK: - HKWorkout Convenience Extensions
[9/11] Compiling HealthKitWorkoutSplits SplitCalculatorError.swift
/host/spi-builder-workspace/Sources/HealthKitWorkoutSplits/Extensions/HKWorkout+Extensions.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // MARK: - HKWorkout Convenience Extensions
[10/11] Compiling HealthKitWorkoutSplits HKWorkout+Extensions.swift
/host/spi-builder-workspace/Sources/HealthKitWorkoutSplits/Extensions/HKWorkout+Extensions.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // MARK: - HKWorkout Convenience Extensions
[11/11] Compiling HealthKitWorkoutSplits SplitCalculator.swift
/host/spi-builder-workspace/Sources/HealthKitWorkoutSplits/Extensions/HKWorkout+Extensions.swift:2:8: error: no such module 'HealthKit'
  1 | import Foundation
  2 | import HealthKit
    |        `- error: no such module 'HealthKit'
  3 |
  4 | // MARK: - HKWorkout Convenience Extensions
swift-build: /home/build-user/llbuild/lib/Core/SQLiteBuildDB.cpp:703: virtual void (anonymous namespace)::SQLiteBuildDB::buildComplete(): Assertion `result == SQLITE_OK' failed.
*** Signal 6: Backtracing from 0x7fbb61c0f9fc... done ***
*** Program crashed: Aborted at 0x0000000000000001 ***
Thread 0 "swift-build":
0  0x00007fbb61bbb80a <unknown> in libc.so.6
Thread 1 crashed:
0  0x00007fbb61c0f9fc <unknown> in libc.so.6
Thread 2:
0  0x00007fbb61c9ee2e <unknown> in libc.so.6
Thread 3:
0  0x00007fbb61c0a117 <unknown> in libc.so.6
Registers:
rax 0x0000000000000000  0
rdx 0x00007fbb5c6c0640  40 06 6c 5c bb 7f 00 00 f0 55 98 6b e2 55 00 00  @·l\»···ðU·kâU··
rcx 0x00007fbb61c0f9fc  41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00  A·ÅA÷Ý=·ðÿÿ¸····
rbx 0x0000000000000006  6
rsi 0x0000000000000001  1
rdi 0x0000000000000008  8
rbp 0x0000000000000008  8
rsp 0x00007fbb5c6bebf0  ac 4b 0b 54 bb 7f 00 00 80 4a 0b 54 bb 7f 00 00  ¬K·T»····J·T»···
 r8 0x00007fbb5c6becc0  20 00 00 00 00 00 00 00 a0 46 d9 61 bb 7f 00 00   ······· FÙa»···
 r9 0x0000000000000000  0
r10 0x0000000000000008  8
r11 0x0000000000000246  582
r12 0x0000000000000006  6
r13 0x0000000000000016  22
r14 0x000055e26aed01e4  72 65 73 75 6c 74 20 3d 3d 20 53 51 4c 49 54 45  result == SQLITE
r15 0x00007fbb5407e5d0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
rip 0x00007fbb61c0f9fc  41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00  A·ÅA÷Ý=·ðÿÿ¸····
rflags 0x0000000000000246  ZF PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (57 omitted):
0x00007fbb61b79000–0x00007fbb61d35341 d5197096f709801829b118af1b7cf6631efa2dcd libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.03s
BUILD FAILURE 6.0 linux