The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ResearchKitOnFHIR with Swift 5.9 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/ResearchKitOnFHIR.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/StanfordBDHG/ResearchKitOnFHIR
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cdb24dd Add support for FHIRPath expression-based, relative min and max date extensions (#80)
Cloned https://github.com/StanfordBDHG/ResearchKitOnFHIR.git
Revision (git rev-parse @):
cdb24dd5607d5a63aaf3a3597c98122189cb548e
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/ResearchKitOnFHIR.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/StanfordBDHG/ResearchKitOnFHIR.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/FHIRModels.git
Fetching https://github.com/antlr/antlr4
Fetching https://github.com/StanfordBDHG/ResearchKit
[1/164797] Fetching antlr4
[1649/170212] Fetching antlr4, fhirmodels
Fetched https://github.com/antlr/antlr4 (6.62s)
[1/36748] Fetching researchkit
Fetched https://github.com/apple/FHIRModels.git (13.61s)
Fetched https://github.com/StanfordBDHG/ResearchKit (13.77s)
Computing version for https://github.com/antlr/antlr4
Computed https://github.com/antlr/antlr4 at 4.13.1 (0.92s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.5.0 (0.35s)
Computing version for https://github.com/StanfordBDHG/ResearchKit
Computed https://github.com/StanfordBDHG/ResearchKit at 2.2.30 (0.30s)
Creating working copy for https://github.com/StanfordBDHG/ResearchKit
Working copy of https://github.com/StanfordBDHG/ResearchKit resolved at 2.2.30
Creating working copy for https://github.com/apple/FHIRModels.git
Working copy of https://github.com/apple/FHIRModels.git resolved at 0.5.0
Creating working copy for https://github.com/antlr/antlr4
Working copy of https://github.com/antlr/antlr4 resolved at 4.13.1
warning: 'spi-builder-workspace': found 13 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/GAD-7.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/SkipLogicExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/IPSS.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/FormExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/GCS.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/SliderExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/DateTimeExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/PHQ-9.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/ImageCapture.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/NumberExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/ContainedValueSetExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/TextValidationExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/MultipleEnableWhen.json.license
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathVisitor.swift.license
    /host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathLexer.swift.license
    /host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathBaseVisitor.swift.license
    /host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathParser.swift.license
Building for debugging...
[0/13] Copying TextValidationExample.json
[0/13] Copying ImageCapture.json
[0/13] Copying NumberExample.json
[0/13] Copying SkipLogicExample.json
[0/13] Copying MultipleEnableWhen.json
[0/13] Copying SliderExample.json
[0/13] Copying IPSS.json
[3/13] Copying FormExample.json
[3/13] Copying GCS.json
[4/13] Copying GAD-7.json
[4/13] Copying DateTimeExample.json
[11/13] Copying PHQ-9.json
[11/13] Copying ContainedValueSetExample.json
[14/163] Compiling FMCore FHIRIntegerRepresentable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/164] Emitting module ResearchKitSwiftUI
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[16/164] Compiling ResearchKitSwiftUI ORKOrderedTaskView.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[17/164] Compiling ResearchKitSwiftUI TaskResult.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[18/164] Compiling ResearchKitSwiftUI ORKLifecycle.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[19/164] Compiling ResearchKitSwiftUI CancelBehavior.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
error: fatalError
warning: 'spi-builder-workspace': found 13 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/IPSS.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/GCS.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/ContainedValueSetExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/FormExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/NumberExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/SkipLogicExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/DateTimeExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/GAD-7.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/ImageCapture.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/PHQ-9.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/TextValidationExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/SliderExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/MultipleEnableWhen.json.license
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathBaseVisitor.swift.license
    /host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathLexer.swift.license
    /host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathParser.swift.license
    /host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathVisitor.swift.license
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/5] Emitting module ResearchKitSwiftUI
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[2/5] Compiling ResearchKitSwiftUI TaskResult.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[3/5] Compiling ResearchKitSwiftUI ORKLifecycle.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[4/5] Compiling ResearchKitSwiftUI CancelBehavior.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[5/5] Compiling ResearchKitSwiftUI ORKOrderedTaskView.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1