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 SpeziQuestionnaire, reference 1.2.3 (d0bd55), with Swift 5.10 for Linux on 29 Aug 2024 18:13:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziQuestionnaire.git
Reference: 1.2.3
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/StanfordSpezi/SpeziQuestionnaire
 * tag               1.2.3      -> FETCH_HEAD
HEAD is now at d0bd55f Be less restrictive about the chosen swiftlint version (#28)
Cloned https://github.com/StanfordSpezi/SpeziQuestionnaire.git
Revision (git rev-parse @):
d0bd55f8a0bd3eeb806a673261e9d6b9fd43f3cd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziQuestionnaire.git at 1.2.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/StanfordSpezi/SpeziQuestionnaire.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:a70f701911643a3a4293839e0e79d56dcc32eed4840549b67640dc1034af7f44
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/StanfordBDHG/ResearchKitOnFHIR
Fetching https://github.com/StanfordBDHG/ResearchKit
Fetching https://github.com/apple/FHIRModels
Fetching https://github.com/StanfordSpezi/SpeziViews
Fetching https://github.com/StanfordSpezi/Spezi
[1/2130] Fetching speziviews
[811/4600] Fetching speziviews, researchkitonfhir
[1849/13267] Fetching speziviews, researchkitonfhir, spezi
[13268/18682] Fetching speziviews, researchkitonfhir, spezi, fhirmodels
Fetched https://github.com/StanfordSpezi/Spezi from cache (0.48s)
Fetched https://github.com/StanfordSpezi/SpeziViews from cache (0.48s)
[2525/7885] Fetching researchkitonfhir, fhirmodels
Fetched https://github.com/apple/FHIRModels from cache (0.76s)
[1/39281] Fetching researchkit
Fetched https://github.com/StanfordBDHG/ResearchKitOnFHIR from cache (7.82s)
Fetched https://github.com/StanfordBDHG/ResearchKit from cache (8.02s)
Computing version for https://github.com/StanfordBDHG/ResearchKitOnFHIR
Computed https://github.com/StanfordBDHG/ResearchKitOnFHIR at 2.0.1 (1.49s)
Fetching https://github.com/antlr/antlr4
[1/165387] Fetching antlr4
Fetched https://github.com/antlr/antlr4 from cache (5.13s)
Computing version for https://github.com/apple/FHIRModels
Computed https://github.com/apple/FHIRModels at 0.5.0 (0.35s)
Computing version for https://github.com/antlr/antlr4
Computed https://github.com/antlr/antlr4 at 4.13.2 (0.34s)
Computing version for https://github.com/StanfordBDHG/ResearchKit
Computed https://github.com/StanfordBDHG/ResearchKit at 3.0.3 (0.30s)
Computing version for https://github.com/StanfordSpezi/SpeziViews
Computed https://github.com/StanfordSpezi/SpeziViews at 1.6.0 (0.44s)
Fetching https://github.com/apple/swift-collections.git
[1/14999] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (0.92s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.3 (0.48s)
Computing version for https://github.com/StanfordSpezi/Spezi
Computed https://github.com/StanfordSpezi/Spezi at 1.7.3 (0.44s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions
Fetching https://github.com/StanfordSpezi/SpeziFoundation
[1/374] Fetching xctruntimeassertions
[375/766] Fetching xctruntimeassertions, spezifoundation
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions from cache (0.22s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation from cache (0.22s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation
Computed https://github.com/StanfordSpezi/SpeziFoundation at 2.0.0-beta.2 (0.39s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions at 1.1.3 (0.39s)
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.3
Creating working copy for https://github.com/antlr/antlr4
Working copy of https://github.com/antlr/antlr4 resolved at 4.13.2
Creating working copy for https://github.com/apple/FHIRModels
Working copy of https://github.com/apple/FHIRModels resolved at 0.5.0
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation
Working copy of https://github.com/StanfordSpezi/SpeziFoundation resolved at 2.0.0-beta.2
Creating working copy for https://github.com/StanfordBDHG/ResearchKit
Working copy of https://github.com/StanfordBDHG/ResearchKit resolved at 3.0.3
Creating working copy for https://github.com/StanfordSpezi/Spezi
Working copy of https://github.com/StanfordSpezi/Spezi resolved at 1.7.3
Creating working copy for https://github.com/StanfordSpezi/SpeziViews
Working copy of https://github.com/StanfordSpezi/SpeziViews resolved at 1.6.0
Creating working copy for https://github.com/StanfordBDHG/ResearchKitOnFHIR
Working copy of https://github.com/StanfordBDHG/ResearchKitOnFHIR resolved at 2.0.1
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SpeziTimedWalkTest/Resources/Localizable.xcstrings.license
    /host/spi-builder-workspace/Sources/SpeziTimedWalkTest/Resources/Localizable.xcstrings
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SpeziQuestionnaire/Resources/Localizable.xcstrings
    /host/spi-builder-workspace/Sources/SpeziQuestionnaire/Resources/Localizable.xcstrings.license
Building for debugging...
[0/32] Write sources
[7/32] Copying Localizable.xcstrings.license
[7/32] Copying GCS.json
[7/32] Copying NumberExample.json
[7/32] Copying Localizable.xcstrings
[7/32] Write sources
[7/32] Copying TextValidationExample.json
[7/32] Copying SliderExample.json
[7/32] Copying SkipLogicExample.json
[7/32] Copying PHQ-9.json
[7/32] Copying MultipleEnableWhen.json
[7/32] Copying ImageCapture.json
[7/32] Copying GAD-7.json
[7/32] Copying IPSS.json
[7/32] Write sources
[7/32] Copying FormExample.json
[7/32] Write sources
[7/32] Copying DateTimeExample.json
[7/32] Copying ContainedValueSetExample.json
[7/32] Write sources
[26/32] Copying Info.plist
[31/32] Write swift-version-24593BA9C3E375BF.txt
[33/226] Emitting module InternalCollectionsUtilities
[34/228] Compiling Antlr4 DefaultErrorStrategy.swift
[35/228] Compiling Antlr4 DiagnosticErrorListener.swift
[36/228] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[37/228] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[38/228] Compiling Antlr4 ANTLRErrorListener.swift
[39/228] Compiling Antlr4 ANTLRErrorStrategy.swift
[40/228] Compiling Antlr4 ANTLRFileStream.swift
[41/228] Emitting module XCTRuntimeAssertions
[42/229] Compiling Antlr4 ANTLRInputStream.swift
[43/229] Compiling Antlr4 BailErrorStrategy.swift
[44/229] Compiling Antlr4 BaseErrorListener.swift
[45/229] Compiling Antlr4 BufferedTokenStream.swift
[46/229] Compiling Antlr4 CharStream.swift
[47/229] Compiling ResearchKitSwiftUI ORKOrderedTaskView.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
@_exported import ResearchKit
                  ^
[48/229] Compiling ResearchKitSwiftUI TaskResult.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
@_exported import ResearchKit
                  ^
[49/229] Compiling Antlr4 FailedPredicateException.swift
[50/229] Compiling Antlr4 InputMismatchException.swift
[51/229] Compiling Antlr4 CommonTokenStream.swift
[52/229] Compiling Antlr4 ConsoleErrorListener.swift
[53/229] Compiling Antlr4 CommonToken.swift
[54/229] Compiling Antlr4 CommonTokenFactory.swift
[55/230] Compiling ResearchKitSwiftUI CancelBehavior.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
@_exported import ResearchKit
                  ^
[56/230] Compiling ResearchKitSwiftUI Export.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
@_exported import ResearchKit
                  ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/230] Emitting module ResearchKitSwiftUI
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
@_exported import ResearchKit
                  ^
[58/230] Compiling ResearchKitSwiftUI ORKLifecycle.swift
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
@_exported import ResearchKit
                  ^
error: fatalError
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:146:31: error: value of type 'NSLock' has no member 'withLock'
            let task = nsLock.withLock {
                       ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:175:44: error: value of type 'NSLock' has no member 'withLock'
        let first: SuspendedTask? = nsLock.withLock {
                                    ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:179:24: error: 'nil' requires a contextual type
                return nil
                       ^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:197:28: error: value of type 'NSLock' has no member 'withLock'
        let tasks = nsLock.withLock {
                    ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:216:28: error: value of type 'NSLock' has no member 'withLock'
        let tasks = nsLock.withLock {
                    ~~~~~~ ^~~~~~~~
BUILD FAILURE 5.10 linux