The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SpeziFHIR, reference main (b304ec), with Swift 6.1 for Wasm on 11 Jan 2026 16:29:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziFHIR.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/SpeziFHIR
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b304eca `FHIRStore`: handle duplicate entries (#46)
Cloned https://github.com/StanfordSpezi/SpeziFHIR.git
Revision (git rev-parse @):
b304ecac0dea8779854023d887f48832744990f7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziFHIR.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/StanfordSpezi/SpeziFHIR.git
https://github.com/StanfordSpezi/SpeziFHIR.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "fhirmodels",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.7.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/FHIRModels.git"
    },
    {
      "identity" : "healthkitonfhir",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/StanfordBDHG/HealthKitOnFHIR.git"
    },
    {
      "identity" : "spezi",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/StanfordSpezi/Spezi.git"
    },
    {
      "identity" : "spezihealthkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/StanfordSpezi/SpeziHealthKit.git"
    }
  ],
  "manifest_display_name" : "SpeziFHIR",
  "name" : "SpeziFHIR",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SpeziFHIR",
      "targets" : [
        "SpeziFHIR"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SpeziFHIRHealthKit",
      "targets" : [
        "SpeziFHIRHealthKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SpeziFHIRMockPatients",
      "targets" : [
        "SpeziFHIRMockPatients"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SpeziFHIRTests",
      "module_type" : "SwiftTarget",
      "name" : "SpeziFHIRTests",
      "path" : "Tests/SpeziFHIRTests",
      "product_dependencies" : [
        "HealthKitOnFHIR",
        "SpeziHealthKit"
      ],
      "sources" : [
        "FHIRAttachment/Base64DecoderTests.swift",
        "FHIRAttachment/FHIRAttachmentServiceTests.swift",
        "FHIRAttachment/FHIRAttachmentTests.swift",
        "FHIRAttachment/PDFContentExtractorTests.swift",
        "FHIRAttachment/TextContentExtractorTests.swift",
        "FHIRResource/FHIRResourceCategoryTests.swift",
        "FHIRResource/FHIRResourceCopyTests.swift",
        "FHIRResource/FHIRResourceDSTU2Mocks.swift",
        "FHIRResource/FHIRResourceLockManagerTests.swift",
        "FHIRResource/FHIRResourceR4Mocks.swift",
        "FHIRResource/FHIRResourceSearchTests.swift",
        "FHIRResource/FHIRResourceStringifyTests.swift",
        "FHIRResource/FHIRResourceTests.swift",
        "FHIRResource/ResourceProxyDisplayNameTests.swift",
        "FHIRStore/FHIRStoreObservationChangesTests.swift",
        "FHIRStore/FHIRStoreTests.swift",
        "SpeziFHIRHealthKit/FHIRResourceAttachmentProcessingTests.swift"
      ],
      "target_dependencies" : [
        "SpeziFHIR",
        "SpeziFHIRHealthKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SpeziFHIRMockPatients",
      "module_type" : "SwiftTarget",
      "name" : "SpeziFHIRMockPatients",
      "path" : "Sources/SpeziFHIRMockPatients",
      "product_dependencies" : [
        "ModelsR4"
      ],
      "product_memberships" : [
        "SpeziFHIRMockPatients"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Allen322_Ferry570_ad134528-56a5-35fd-c37f-466ff119c625.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Allen322_Ferry570_ad134528-56a5-35fd-c37f-466ff119c625.json.license",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Beatris270_Bogan287_5b3645de-a2d0-d016-0839-bab3757c4c58.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Beatris270_Bogan287_5b3645de-a2d0-d016-0839-bab3757c4c58.json.license",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Edythe31_Morar593_9c3df38a-d3b7-2198-3898-51f9153d023d.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Edythe31_Morar593_9c3df38a-d3b7-2198-3898-51f9153d023d.json.license",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Gonzalo160_Duenas839_ed70a28f-30b2-acb7-658a-8b340dadd685.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Gonzalo160_Duenas839_ed70a28f-30b2-acb7-658a-8b340dadd685.json.license",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Jacklyn830_Veum823_e0e1f21a-22a7-d166-7bb1-63f6bbce1a32.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Jacklyn830_Veum823_e0e1f21a-22a7-d166-7bb1-63f6bbce1a32.json.license",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Jamison785_Denesik803_1e08cb3f-9e6a-b083-b6ee-0bb38f70ba50.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Jamison785_Denesik803_1e08cb3f-9e6a-b083-b6ee-0bb38f70ba50.json.license",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Maye976_Dickinson688_04f25f73-04b2-469c-3806-540417a0d61c.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Maye976_Dickinson688_04f25f73-04b2-469c-3806-540417a0d61c.json.license",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Milagros256_Hills818_79b1d90a-0eaf-be78-9bbf-91c638626012.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Milagros256_Hills818_79b1d90a-0eaf-be78-9bbf-91c638626012.json.license",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Milton509_Ortiz186_d66b5418-06cb-fc8a-8c13-85685b6ac939.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Milton509_Ortiz186_d66b5418-06cb-fc8a-8c13-85685b6ac939.json.license",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Napoleon578_Fay398_38f38890-b80f-6542-51d4-882c7b37b0bf.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFHIRMockPatients/Resources/Napoleon578_Fay398_38f38890-b80f-6542-51d4-882c7b37b0bf.json.license",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "FHIRBundle+MockPatients.swift",
        "FHIRBundle+Patient.swift",
        "FHIRBundleSelector.swift",
        "FHIRMockBundleSelector.swift",
        "FHIRStore+TestingSupport.swift",
        "FoundationBundle+LoadBundle.swift"
      ],
      "target_dependencies" : [
        "SpeziFHIR"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpeziFHIRHealthKit",
      "module_type" : "SwiftTarget",
      "name" : "SpeziFHIRHealthKit",
      "path" : "Sources/SpeziFHIRHealthKit",
      "product_dependencies" : [
        "HealthKitOnFHIR",
        "SpeziHealthKit"
      ],
      "product_memberships" : [
        "SpeziFHIRHealthKit"
      ],
      "sources" : [
        "FHIRResource+HealthKit.swift",
        "FHIRResource+LoadAttachments.swift",
        "FHIRStore+HealthKit.swift"
      ],
      "target_dependencies" : [
        "SpeziFHIR"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpeziFHIR",
      "module_type" : "SwiftTarget",
      "name" : "SpeziFHIR",
      "path" : "Sources/SpeziFHIR",
      "product_dependencies" : [
        "Spezi",
        "ModelsR4",
        "ModelsDSTU2",
        "HealthKitOnFHIR",
        "SpeziHealthKit"
      ],
      "product_memberships" : [
        "SpeziFHIR",
        "SpeziFHIRHealthKit",
        "SpeziFHIRMockPatients"
      ],
      "sources" : [
        "Extensions/ConditionOnsetXR4+Date.swift",
        "Extensions/DiagnosticReportEffectiveXR4+Date.swift",
        "Extensions/FHIR+Identifiable.swift",
        "Extensions/FHIRResource+Flattener.swift",
        "Extensions/ImmunizationOccurrenceXR4+Date.swift",
        "Extensions/MedicationAdministrationEffectiveXR4+Date.swift",
        "Extensions/PeriodR4+Date.swift",
        "Extensions/ProcedurePerformedXR4+Date.swift",
        "Extensions/SupplyDeliveryOccurrenceXR4+Date.swift",
        "FHIR.swift",
        "FHIRAttachment/Base64Decoding.swift",
        "FHIRAttachment/ContentExtractor.swift",
        "FHIRAttachment/FHIRAttachment+DSTU2.swift",
        "FHIRAttachment/FHIRAttachment+R4.swift",
        "FHIRAttachment/FHIRAttachment.swift",
        "FHIRAttachment/FHIRAttachmentService.swift",
        "FHIRAttachment/PDFDocumentProviding.swift",
        "FHIRResource/FHIRResource+Category.swift",
        "FHIRResource/FHIRResource+Copy.swift",
        "FHIRResource/FHIRResource+Search.swift",
        "FHIRResource/FHIRResource+StringifyAttachment.swift",
        "FHIRResource/FHIRResource.swift",
        "FHIRResource/FHIRResourceLockManager.swift",
        "FHIRResource/ResourceProxy+DisplayName.swift",
        "FHIRStore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/StanfordSpezi/SpeziHealthKit.git
Fetching https://github.com/apple/FHIRModels.git
Fetching https://github.com/StanfordSpezi/Spezi.git
[1/10160] Fetching spezi
[103/15324] Fetching spezi, spezihealthkit
[3736/21943] Fetching spezi, spezihealthkit, fhirmodels
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (1.23s)
Fetching https://github.com/StanfordBDHG/HealthKitOnFHIR.git
[1/3007] Fetching healthkitonfhir
Fetched https://github.com/StanfordSpezi/SpeziHealthKit.git from cache (1.73s)
Fetched https://github.com/apple/FHIRModels.git from cache (1.73s)
Fetched https://github.com/StanfordBDHG/HealthKitOnFHIR.git from cache (0.74s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.8.0 (7.83s)
Computing version for https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Computed https://github.com/StanfordBDHG/HealthKitOnFHIR.git at 1.2.1 (1.69s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.0 (1.03s)
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/apple/swift-collections.git
[1/735] Fetching xctruntimeassertions
[736/3372] Fetching xctruntimeassertions, spezifoundation
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.29s)
[1/18616] Fetching swift-collections
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (1.39s)
Fetched https://github.com/apple/swift-collections.git from cache (1.42s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (2.11s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.2 (0.82s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordBDHG/zstd.git
[1/160] Fetching threadlocal
[161/6212] Fetching threadlocal, swift-algorithms
[1372/11977] Fetching threadlocal, swift-algorithms, swift-log
[1611/13797] Fetching threadlocal, swift-algorithms, swift-log, swift-atomics
[13798/76954] Fetching threadlocal, swift-algorithms, swift-log, swift-atomics, zstd
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
Fetched https://github.com/apple/swift-log from cache (0.52s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.52s)
[7108/63317] Fetching threadlocal, zstd
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (14.08s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (14.15s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/apple/FHIRModels.git at 0.8.0 (0.00s)
Computed https://github.com/StanfordBDHG/HealthKitOnFHIR.git at 1.2.1 (0.00s)
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.0 (0.00s)
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.6.0 (0.96s)
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (0.00s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.18s)
Fetching https://github.com/apple/swift-numerics.git
[1/6390] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.09s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.94s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.8.0 (0.64s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.85s)
Computing version for https://github.com/StanfordSpezi/SpeziHealthKit.git
Computed https://github.com/StanfordSpezi/SpeziHealthKit.git at 1.3.2 (0.87s)
Fetching https://github.com/StanfordSpezi/SpeziStorage.git
[1/1694] Fetching spezistorage
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (0.24s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.3 (1.00s)
Creating working copy for https://github.com/StanfordSpezi/SpeziStorage.git
Working copy of https://github.com/StanfordSpezi/SpeziStorage.git resolved at 2.1.3
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.6.0
Creating working copy for https://github.com/StanfordSpezi/SpeziHealthKit.git
Working copy of https://github.com/StanfordSpezi/SpeziHealthKit.git resolved at 1.3.2
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Working copy of https://github.com/StanfordBDHG/HealthKitOnFHIR.git resolved at 1.2.1
Creating working copy for https://github.com/apple/FHIRModels.git
Working copy of https://github.com/apple/FHIRModels.git resolved at 0.8.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.2.0
Building for debugging...
[0/59] Write sources
[4/59] Copying Localizable-HKTypes.strings
[9/59] Copying Localizable.xcstrings.license
[12/59] Copying Localizable.xcstrings
[13/59] Copying Info.plist
[14/59] Copying Localizable.xcstrings.license
[14/59] Copying Localizable.xcstrings
[14/59] Copying Info.plist
[14/59] Write sources
[14/59] Copying Napoleon578_Fay398_38f38890-b80f-6542-51d4-882c7b37b0bf.json.license
[14/59] Copying Milton509_Ortiz186_d66b5418-06cb-fc8a-8c13-85685b6ac939.json.license
[20/59] Copying Milton509_Ortiz186_d66b5418-06cb-fc8a-8c13-85685b6ac939.json
[20/59] Copying Milagros256_Hills818_79b1d90a-0eaf-be78-9bbf-91c638626012.json.license
[20/59] Copying Maye976_Dickinson688_04f25f73-04b2-469c-3806-540417a0d61c.json.license
[23/59] Copying Napoleon578_Fay398_38f38890-b80f-6542-51d4-882c7b37b0bf.json
[24/59] Copying Jamison785_Denesik803_1e08cb3f-9e6a-b083-b6ee-0bb38f70ba50.json.license
[25/59] Copying Milagros256_Hills818_79b1d90a-0eaf-be78-9bbf-91c638626012.json
[26/59] Copying Jacklyn830_Veum823_e0e1f21a-22a7-d166-7bb1-63f6bbce1a32.json.license
[27/59] Copying Maye976_Dickinson688_04f25f73-04b2-469c-3806-540417a0d61c.json
[28/59] Copying Info.plist
[29/59] Copying Gonzalo160_Duenas839_ed70a28f-30b2-acb7-658a-8b340dadd685.json.license
[30/59] Write sources
[31/59] Copying Edythe31_Morar593_9c3df38a-d3b7-2198-3898-51f9153d023d.json.license
[32/59] Copying Jacklyn830_Veum823_e0e1f21a-22a7-d166-7bb1-63f6bbce1a32.json
[33/59] Copying Beatris270_Bogan287_5b3645de-a2d0-d016-0839-bab3757c4c58.json.license
[34/59] Copying Beatris270_Bogan287_5b3645de-a2d0-d016-0839-bab3757c4c58.json
[35/59] Copying Allen322_Ferry570_ad134528-56a5-35fd-c37f-466ff119c625.json.license
[36/59] Copying Jamison785_Denesik803_1e08cb3f-9e6a-b083-b6ee-0bb38f70ba50.json
[37/59] Copying Edythe31_Morar593_9c3df38a-d3b7-2198-3898-51f9153d023d.json
[38/59] Write sources
[40/59] Copying Allen322_Ferry570_ad134528-56a5-35fd-c37f-466ff119c625.json
[41/59] Write sources
[48/59] Copying Info.plist
[49/59] Copying HKSampleMapping.json
[50/59] Write sources
[53/59] Copying HKSampleMapping.json.license
[54/59] Compiling _AtomicsShims.c
[55/59] Compiling _NumericsShims _NumericsShims.c
[56/59] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[57/59] Copying Gonzalo160_Duenas839_ed70a28f-30b2-acb7-658a-8b340dadd685.json
[58/59] Write swift-version-24593BA9C3E375BF.txt
[60/126] Emitting module InternalCollectionsUtilities
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[61/128] Emitting module Atomics
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/130] Emitting module RuntimeAssertions
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 |     // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 |     repeat {
16 |         RunLoop.current.run()
   |                         `- error: value of type 'RunLoop' has no member 'run'
17 |     } while (true)
18 | }
[63/130] Compiling RuntimeAssertions Assert.swift
[64/131] Compiling RealModule RealFunctions.swift
[65/132] Emitting module Logging
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[66/132] Compiling FMCore FHIRIntegerRepresentable.swift
[67/133] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[68/133] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[69/133] Compiling Atomics AtomicValue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[70/133] Compiling Atomics AtomicInteger.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[71/133] Compiling Atomics AtomicOptionalWrappable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[72/133] Compiling Atomics AtomicReference.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[73/133] Compiling Atomics AtomicMemoryOrderings.swift
[74/133] Compiling Atomics DoubleWord.swift
[75/133] Compiling Atomics IntegerConformances.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[76/133] Compiling Atomics PointerConformances.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[77/133] Compiling RealModule Float80+Real.swift
[78/133] Compiling RealModule Real.swift
[79/133] Compiling Atomics OptionalRawRepresentable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[80/133] Compiling Atomics RawRepresentable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[81/133] Compiling Atomics AtomicBool.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[82/133] Compiling Logging Locks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[83/133] Compiling Atomics IntegerOperations.swift
[84/133] Compiling Atomics Unmanaged extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[87/133] Compiling Atomics Primitives.native.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[88/133] Compiling Atomics AtomicStorage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[89/133] Compiling RealModule Float16+Real.swift
[90/133] Emitting module RealModule
[95/133] Compiling Atomics ManagedAtomic.swift
[96/133] Compiling Atomics ManagedAtomicLazyReference.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[111/134] Compiling RealModule RelaxedArithmetic.swift
[118/216] Compiling Logging MetadataProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[119/216] Compiling Logging LogHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[120/216] Compiling Logging Logging.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[122/217] Compiling RuntimeAssertions NeverReturn.swift
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 |     // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 |     repeat {
16 |         RunLoop.current.run()
   |                         `- error: value of type 'RunLoop' has no member 'run'
17 |     } while (true)
18 | }
[123/217] Compiling RuntimeAssertions Precondition.swift
[124/217] Compiling FMCore FHIRType.swift
[125/217] Compiling FMCore Scanner+FHIR.swift
/host/spi-builder-workspace/.build/checkouts/FHIRModels/Sources/FMCore/Scanner+FHIR.swift:32:47: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
30 | 		}
31 | 		var string: NSString?
32 | 		if scanCharacters(from: characterSet, into: &string), let string = string {
   |                                               |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
   |                                               `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
33 | 			return String(string)
34 | 		}
[126/217] Emitting module FMCore
[127/217] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[128/217] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[129/217] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[130/217] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[131/217] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[132/217] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[133/217] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[134/217] Compiling RuntimeAssertions RuntimePrecondition.swift
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/RuntimePrecondition.swift:31:25: error: cannot find 'DispatchQueue' in scope
29 |
30 |     // We have to run the operation on a `DispatchQueue` as we have to call `RunLoop.current.run()` in the `preconditionFailure` call.
31 |     let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
   |                         `- error: cannot find 'DispatchQueue' in scope
32 |
33 |     let expressionWorkItem = DispatchWorkItem {
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/RuntimePrecondition.swift:33:30: error: cannot find 'DispatchWorkItem' in scope
31 |     let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
32 |
33 |     let expressionWorkItem = DispatchWorkItem {
   |                              `- error: cannot find 'DispatchWorkItem' in scope
34 |         injection.withInjection(expression)
35 |     }
[135/217] Compiling FMCore TimeZone+FHIR.swift
[136/218] Compiling Algorithms AdjacentPairs.swift
[137/218] Compiling Algorithms Chain.swift
[138/224] Compiling FMCore FHIRDateParserError.swift
[139/224] Compiling RuntimeAssertions RuntimeAssertion.swift
[140/224] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[141/224] Compiling FMCore ExpressibleAsNSDate.swift
[142/224] Compiling FMCore FHIRDateComponents.swift
[143/224] Compiling RuntimeAssertions Counter.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/68] Compiling RealModule RealFunctions.swift
[3/69] Compiling RuntimeAssertions Assert.swift
[4/69] Compiling RuntimeAssertions Counter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/69] Emitting module RuntimeAssertions
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 |     // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 |     repeat {
16 |         RunLoop.current.run()
   |                         `- error: value of type 'RunLoop' has no member 'run'
17 |     } while (true)
18 | }
[6/70] Compiling RuntimeAssertions DebugOnly.swift
[7/70] Compiling RuntimeAssertions Precondition.swift
[8/70] Compiling Logging Locks.swift
[9/70] Compiling FMCore Scanner+FHIR.swift
/host/spi-builder-workspace/.build/checkouts/FHIRModels/Sources/FMCore/Scanner+FHIR.swift:32:47: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
30 | 		}
31 | 		var string: NSString?
32 | 		if scanCharacters(from: characterSet, into: &string), let string = string {
   |                                               |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
   |                                               `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
33 | 			return String(string)
34 | 		}
[10/71] Compiling Logging MetadataProvider.swift
[11/71] Compiling FMCore FHIRIntegerRepresentable.swift
[12/71] Compiling FMCore FHIRType.swift
[13/71] Compiling FMCore ExpressibleAsNSDate.swift
[14/71] Compiling RealModule Real.swift
[15/71] Compiling RealModule Float80+Real.swift
[16/71] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[17/71] Compiling RuntimeAssertions RuntimeAssertion.swift
[18/71] Compiling RuntimeAssertions NeverReturn.swift
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 |     // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 |     repeat {
16 |         RunLoop.current.run()
   |                         `- error: value of type 'RunLoop' has no member 'run'
17 |     } while (true)
18 | }
[19/71] Emitting module FMCore
[20/71] Compiling Atomics AtomicStorage.swift
[21/71] Compiling Atomics AtomicValue.swift
[22/73] Compiling RuntimeAssertions RuntimePrecondition.swift
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/RuntimePrecondition.swift:31:25: error: cannot find 'DispatchQueue' in scope
29 |
30 |     // We have to run the operation on a `DispatchQueue` as we have to call `RunLoop.current.run()` in the `preconditionFailure` call.
31 |     let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
   |                         `- error: cannot find 'DispatchQueue' in scope
32 |
33 |     let expressionWorkItem = DispatchWorkItem {
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/RuntimePrecondition.swift:33:30: error: cannot find 'DispatchWorkItem' in scope
31 |     let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
32 |
33 |     let expressionWorkItem = DispatchWorkItem {
   |                              `- error: cannot find 'DispatchWorkItem' in scope
34 |         injection.withInjection(expression)
35 |     }
[23/73] Emitting module Logging
[24/73] Compiling RealModule RelaxedArithmetic.swift
[25/73] Compiling FMCore FHIRDateParserError.swift
[26/73] Compiling RealModule Float16+Real.swift
[27/73] Compiling Atomics AtomicInteger.swift
[28/73] Compiling Atomics AtomicOptionalWrappable.swift
[29/73] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 wasm