The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ResearchKitOnFHIR with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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: 1.3.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/StanfordBDHG/ResearchKitOnFHIR
 * tag               1.3.0      -> FETCH_HEAD
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 1.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
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.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/antlr/antlr4
Fetching https://github.com/apple/FHIRModels.git
Fetching https://github.com/StanfordBDHG/ResearchKit
[1/164797] Fetching antlr4
[3297/170212] Fetching antlr4, fhirmodels
[170213/206960] Fetching antlr4, fhirmodels, researchkit
Fetched https://github.com/apple/FHIRModels.git from cache (11.87s)
Fetched https://github.com/antlr/antlr4 from cache (12.02s)
Fetched https://github.com/StanfordBDHG/ResearchKit from cache (12.07s)
Computing version for https://github.com/antlr/antlr4
Computed https://github.com/antlr/antlr4 at 4.13.1 (3.41s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.5.0 (0.38s)
Computing version for https://github.com/StanfordBDHG/ResearchKit
Computed https://github.com/StanfordBDHG/ResearchKit at 2.2.30 (0.33s)
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/SliderExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/SkipLogicExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/NumberExample.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/GCS.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/MultipleEnableWhen.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/TextValidationExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/ContainedValueSetExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/DateTimeExample.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/FHIRPathParser.swift.license
    /host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathLexer.swift.license
    /host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathBaseVisitor.swift.license
Building for debugging...
[0/21] Write sources
[0/21] Copying GCS.json
[0/21] Copying TextValidationExample.json
[0/21] Copying SliderExample.json
[0/21] Copying SkipLogicExample.json
[0/21] Copying NumberExample.json
[0/21] Copying PHQ-9.json
[0/21] Copying MultipleEnableWhen.json
[0/21] Copying IPSS.json
[0/21] Copying GAD-7.json
[0/21] Copying FormExample.json
[0/21] Copying DateTimeExample.json
[0/21] Write sources
[0/21] Copying ContainedValueSetExample.json
[0/21] Write sources
[17/21] Copying ImageCapture.json
[20/21] Write swift-version-24593BA9C3E375BF.txt
[22/171] Compiling ResearchKitSwiftUI ORKOrderedTaskView.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[23/171] Compiling ResearchKitSwiftUI ORKLifecycle.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[24/171] Compiling ResearchKitSwiftUI TaskResult.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/171] Emitting module ResearchKitSwiftUI
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[26/171] Compiling ResearchKitSwiftUI CancelBehavior.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[27/171] Compiling FMCore FHIRIntegerRepresentable.swift
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/PHQ-9.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/GAD-7.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/ContainedValueSetExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/NumberExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/SliderExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/TextValidationExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/DateTimeExample.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/SkipLogicExample.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/MultipleEnableWhen.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/ImageCapture.json.license
    /host/spi-builder-workspace/Sources/FHIRQuestionnaires/Resources/IPSS.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/FHIRPathParser.swift.license
    /host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathBaseVisitor.swift.license
    /host/spi-builder-workspace/Sources/FHIRPathParser/Generated/FHIRPathLexer.swift.license
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] 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/22] Compiling ResearchKitSwiftUI ORKOrderedTaskView.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[4/22] Compiling ResearchKitSwiftUI ORKLifecycle.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/42] Emitting module ResearchKitSwiftUI
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/ORKLifecycle.swift:9:8: error: no such module 'ResearchKit'
import ResearchKit
       ^
[6/42] 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
BUILD FAILURE 5.10 linux

Build Machine: Linux 1