Build Information
Failed to build SpeziQuestionnaire, reference main (d0bd55
), with Swift 5.10 for Linux on 29 Aug 2024 18:14:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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/StanfordSpezi/SpeziQuestionnaire
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-4609320-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/StanfordSpezi/SpeziViews
Fetching https://github.com/apple/FHIRModels
Fetching https://github.com/StanfordSpezi/Spezi
Fetching https://github.com/StanfordBDHG/ResearchKit
Fetching https://github.com/StanfordBDHG/ResearchKitOnFHIR
[1/2470] Fetching researchkitonfhir
[100/11137] Fetching researchkitonfhir, spezi
[2289/13267] Fetching researchkitonfhir, spezi, speziviews
[12885/18682] Fetching researchkitonfhir, spezi, speziviews, fhirmodels
[18300/57963] Fetching researchkitonfhir, spezi, speziviews, fhirmodels, researchkit
Fetched https://github.com/StanfordBDHG/ResearchKitOnFHIR from cache (21.37s)
Fetched https://github.com/StanfordSpezi/SpeziViews from cache (21.39s)
Fetched https://github.com/StanfordSpezi/Spezi from cache (21.39s)
Fetched https://github.com/apple/FHIRModels from cache (21.40s)
Fetched https://github.com/StanfordBDHG/ResearchKit from cache (21.70s)
Computing version for https://github.com/StanfordBDHG/ResearchKitOnFHIR
Computed https://github.com/StanfordBDHG/ResearchKitOnFHIR at 2.0.1 (1.29s)
Fetching https://github.com/antlr/antlr4
[1/165387] Fetching antlr4
Fetched https://github.com/antlr/antlr4 from cache (11.05s)
Computing version for https://github.com/apple/FHIRModels
Computed https://github.com/apple/FHIRModels at 0.5.0 (0.66s)
Computing version for https://github.com/antlr/antlr4
Computed https://github.com/antlr/antlr4 at 4.13.2 (0.70s)
Computing version for https://github.com/StanfordBDHG/ResearchKit
Computed https://github.com/StanfordBDHG/ResearchKit at 3.0.3 (0.66s)
Computing version for https://github.com/StanfordSpezi/SpeziViews
Computed https://github.com/StanfordSpezi/SpeziViews at 1.6.0 (1.02s)
Fetching https://github.com/apple/swift-collections.git
[1/14999] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.73s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.3 (2.25s)
Computing version for https://github.com/StanfordSpezi/Spezi
Computed https://github.com/StanfordSpezi/Spezi at 1.7.3 (3.96s)
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/StanfordSpezi/SpeziFoundation from cache (0.49s)
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions from cache (0.49s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation
Computed https://github.com/StanfordSpezi/SpeziFoundation at 2.0.0-beta.2 (0.76s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions at 1.1.3 (0.54s)
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/StanfordSpezi/SpeziFoundation
Working copy of https://github.com/StanfordSpezi/SpeziFoundation resolved at 2.0.0-beta.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/StanfordBDHG/ResearchKitOnFHIR
Working copy of https://github.com/StanfordBDHG/ResearchKitOnFHIR resolved at 2.0.1
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/StanfordSpezi/Spezi
Working copy of https://github.com/StanfordSpezi/Spezi resolved at 1.7.3
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/antlr/antlr4
Working copy of https://github.com/antlr/antlr4 resolved at 4.13.2
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
[0/32] Copying Localizable.xcstrings
[0/32] Copying Localizable.xcstrings.license
[0/32] Copying TextValidationExample.json
[0/32] Copying SliderExample.json
[0/32] Copying Info.plist
[0/32] Copying SkipLogicExample.json
[0/32] Copying NumberExample.json
[0/32] Copying MultipleEnableWhen.json
[0/32] Copying PHQ-9.json
[0/32] Copying IPSS.json
[0/32] Copying ImageCapture.json
[0/32] Copying GAD-7.json
[0/32] Copying FormExample.json
[0/32] Copying DateTimeExample.json
[0/32] Copying ContainedValueSetExample.json
[0/32] Copying GCS.json
[0/32] Write sources
[31/32] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/226] Emitting module SpeziFoundation
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:54:1: error: type 'JSONDecoder' does not conform to protocol 'TopLevelDecoder'
extension JSONDecoder: TopLevelDecoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:33:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T> (T.Type, from: Data, configuration: T.DecodingConfiguration) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:46:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T, C> (T.Type, from: Data, configuration: C.Type) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration, C: DecodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:57:1: error: type 'PropertyListDecoder' does not conform to protocol 'TopLevelDecoder'
extension PropertyListDecoder: TopLevelDecoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:33:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T> (T.Type, from: Data, configuration: T.DecodingConfiguration) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:46:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T, C> (T.Type, from: Data, configuration: C.Type) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration, C: DecodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:44:1: error: type 'JSONEncoder' does not conform to protocol 'TopLevelEncoder'
extension JSONEncoder: TopLevelEncoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:29:10: note: protocol requires function 'encode(_:configuration:)' with type '<T> (T, configuration: T.EncodingConfiguration) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration>(_ value: T, configuration: T.EncodingConfiguration) throws -> Output
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:37:10: note: protocol requires function 'encode(_:configuration:)' with type '<T, C> (T, configuration: C.Type) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration, C: EncodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:47:1: error: type 'PropertyListEncoder' does not conform to protocol 'TopLevelEncoder'
extension PropertyListEncoder: TopLevelEncoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:29:10: note: protocol requires function 'encode(_:configuration:)' with type '<T> (T, configuration: T.EncodingConfiguration) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration>(_ value: T, configuration: T.EncodingConfiguration) throws -> Output
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:37:10: note: protocol requires function 'encode(_:configuration:)' with type '<T, C> (T, configuration: C.Type) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration, C: EncodingConfigurationProviding>(
^
[34/228] Emitting module Antlr4
[35/247] Compiling FMCore FHIRType.swift
[36/248] Compiling Antlr4 CommonToken.swift
[37/248] Compiling Antlr4 CommonTokenFactory.swift
[38/250] Emitting module XCTRuntimeAssertions
[39/250] Compiling XCTRuntimeAssertions Assert.swift
[40/251] Compiling Antlr4 InputMismatchException.swift
[41/251] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[42/251] Compiling XCTRuntimeAssertions XCTFail.swift
[43/251] Compiling Antlr4 CommonTokenStream.swift
[44/251] Compiling Antlr4 ConsoleErrorListener.swift
[45/251] Compiling Antlr4 BufferedTokenStream.swift
[46/251] Compiling Antlr4 CharStream.swift
[49/251] Emitting module InternalCollectionsUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/251] Compiling Antlr4 DefaultErrorStrategy.swift
[51/251] Emitting module ResearchKitSwiftUI
/host/spi-builder-workspace/.build/checkouts/ResearchKit/Sources/ResearchKitSwiftUI/Export.swift:9:19: error: no such module 'ResearchKit'
@_exported import ResearchKit
^
[52/251] Compiling Antlr4 DiagnosticErrorListener.swift
[53/251] Compiling Antlr4 FailedPredicateException.swift
[59/251] Compiling Antlr4 ANTLRErrorListener.swift
[60/251] Compiling Antlr4 ANTLRErrorStrategy.swift
[61/251] Compiling Antlr4 ANTLRFileStream.swift
[62/251] Compiling Antlr4 ANTLRInputStream.swift
[63/251] Compiling Antlr4 BailErrorStrategy.swift
[64/251] Compiling Antlr4 BaseErrorListener.swift
[65/251] 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
^
[66/251] 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
^
[67/251] 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
^
[68/251] 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
^
[69/251] 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