The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-medikationsplan, reference main (4b6d74), with Swift 6.1 for Linux on 15 Feb 2026 08:01:56 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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Hotwheels93/swift-medikationsplan.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/Hotwheels93/swift-medikationsplan
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4b6d74e Add Contributor Covenant Code of Conduct
Cloned https://github.com/Hotwheels93/swift-medikationsplan.git
Revision (git rev-parse @):
4b6d74e8335849bbb2f1796836e4eba98da2c791
SUCCESS checkout https://github.com/Hotwheels93/swift-medikationsplan.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Hotwheels93/swift-medikationsplan.git
https://github.com/Hotwheels93/swift-medikationsplan.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "fhirmodels",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/FHIRModels.git"
    }
  ],
  "manifest_display_name" : "swift-medikationsplan",
  "name" : "swift-medikationsplan",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "MedikationsplanKit",
      "targets" : [
        "MedikationsplanKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MedikationsplanFHIR",
      "targets" : [
        "MedikationsplanFHIR"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MedikationsplanKitTests",
      "module_type" : "SwiftTarget",
      "name" : "MedikationsplanKitTests",
      "path" : "Tests/MedikationsplanKitTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/MedikationsplanKitTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BMPSerializerTests.swift",
        "CodableTests.swift",
        "MedikationsplanKitTests.swift",
        "PZNTests.swift"
      ],
      "target_dependencies" : [
        "MedikationsplanKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MedikationsplanKit",
      "module_type" : "SwiftTarget",
      "name" : "MedikationsplanKit",
      "path" : "Sources/MedikationsplanKit",
      "product_memberships" : [
        "MedikationsplanKit",
        "MedikationsplanFHIR"
      ],
      "sources" : [
        "BMPModels+Codable.swift",
        "BMPModels.swift",
        "BMPParser.swift",
        "BMPSerializer.swift",
        "PZN.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MedikationsplanFHIRTests",
      "module_type" : "SwiftTarget",
      "name" : "MedikationsplanFHIRTests",
      "path" : "Tests/MedikationsplanFHIRTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/MedikationsplanFHIRTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "FHIRConverterTests.swift",
        "ReverseFHIRConverterTests.swift"
      ],
      "target_dependencies" : [
        "MedikationsplanFHIR",
        "MedikationsplanKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MedikationsplanFHIR",
      "module_type" : "SwiftTarget",
      "name" : "MedikationsplanFHIR",
      "path" : "Sources/MedikationsplanFHIR",
      "product_dependencies" : [
        "ModelsR4"
      ],
      "product_memberships" : [
        "MedikationsplanFHIR"
      ],
      "sources" : [
        "AuthorMapper.swift",
        "BMPExtensions.swift",
        "BundleMapper.swift",
        "CompositionMapper.swift",
        "MedicationMapper.swift",
        "MedikationsplanFHIRConverter.swift",
        "ObservationMapper.swift",
        "PatientMapper.swift",
        "ReverseAuthorMapper.swift",
        "ReverseMedicationMapper.swift",
        "ReverseObservationMapper.swift",
        "ReversePatientMapper.swift"
      ],
      "target_dependencies" : [
        "MedikationsplanKit"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/FHIRModels.git
[1/6619] Fetching fhirmodels
Fetched https://github.com/apple/FHIRModels.git from cache (0.70s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.8.0 (2.97s)
Creating working copy for https://github.com/apple/FHIRModels.git
Working copy of https://github.com/apple/FHIRModels.git resolved at 0.8.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/20] Compiling FMCore FHIRIntegerRepresentable.swift
[7/20] Compiling FMCore FHIRType.swift
[8/21] Compiling FMCore FHIRDateParserError.swift
[9/21] Compiling FMCore FHIRDateComponents.swift
[10/21] Compiling FMCore ExpressibleAsNSDate.swift
[11/21] Compiling FMCore Scanner+FHIR.swift
[12/21] Emitting module FMCore
[13/21] Compiling FMCore ConstructibleFromNSDate.swift
[14/21] Compiling FMCore DecodingError+Utilities.swift
[15/21] Compiling FMCore TimeZone+FHIR.swift
[16/21] Compiling MedikationsplanKit PZN.swift
[17/21] Compiling MedikationsplanKit BMPSerializer.swift
[18/22] Compiling MedikationsplanKit BMPParser.swift
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:130:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
128 |
129 |     public func parser(
130 |         _ parser: XMLParser,
    |                   `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
131 |         didStartElement elementName: String,
132 |         namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:170:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
168 |
169 |     public func parser(
170 |         _ parser: XMLParser,
    |                   `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
171 |         didEndElement elementName: String,
172 |         namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:187:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
185 |     }
186 |
187 |     public func parser(_ parser: XMLParser, parseErrorOccurred parseErrorValue: Error) {
    |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
188 |         parseError = .xmlParsingFailed(parseErrorValue.localizedDescription)
189 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:38:41: error: cannot find type 'XMLParserDelegate' in scope
 36 | /// print(plan.patient.fullName)
 37 | /// ```
 38 | public final class BMPParser: NSObject, XMLParserDelegate {
    |                                         `- error: cannot find type 'XMLParserDelegate' in scope
 39 |
 40 |     private var result: Medikationsplan?
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:92:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 90 |         reset()
 91 |
 92 |         let parser = XMLParser(data: data)
    |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 93 |         parser.delegate = self
 94 |         parser.parse()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/22] Compiling MedikationsplanKit BMPModels+Codable.swift
[20/22] Compiling MedikationsplanKit BMPModels.swift
[21/22] Emitting module MedikationsplanKit
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:130:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
128 |
129 |     public func parser(
130 |         _ parser: XMLParser,
    |                   `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
131 |         didStartElement elementName: String,
132 |         namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:170:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
168 |
169 |     public func parser(
170 |         _ parser: XMLParser,
    |                   `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
171 |         didEndElement elementName: String,
172 |         namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:187:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
185 |     }
186 |
187 |     public func parser(_ parser: XMLParser, parseErrorOccurred parseErrorValue: Error) {
    |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
188 |         parseError = .xmlParsingFailed(parseErrorValue.localizedDescription)
189 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:38:41: error: cannot find type 'XMLParserDelegate' in scope
 36 | /// print(plan.patient.fullName)
 37 | /// ```
 38 | public final class BMPParser: NSObject, XMLParserDelegate {
    |                                         `- error: cannot find type 'XMLParserDelegate' in scope
 39 |
 40 |     private var result: Medikationsplan?
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling FMCore FHIRIntegerRepresentable.swift
[3/17] Compiling FMCore Scanner+FHIR.swift
[4/17] Compiling FMCore FHIRType.swift
[5/17] Compiling FMCore TimeZone+FHIR.swift
[6/17] Compiling MedikationsplanKit PZN.swift
[7/17] Compiling FMCore ExpressibleAsNSDate.swift
[8/17] Compiling FMCore FHIRDateParserError.swift
[9/17] Compiling FMCore FHIRDateComponents.swift
[10/17] Compiling FMCore ConstructibleFromNSDate.swift
[11/17] Compiling FMCore DecodingError+Utilities.swift
[12/17] Emitting module FMCore
[13/18] Compiling MedikationsplanKit BMPSerializer.swift
[14/18] Compiling MedikationsplanKit BMPParser.swift
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:130:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
128 |
129 |     public func parser(
130 |         _ parser: XMLParser,
    |                   `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
131 |         didStartElement elementName: String,
132 |         namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:170:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
168 |
169 |     public func parser(
170 |         _ parser: XMLParser,
    |                   `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
171 |         didEndElement elementName: String,
172 |         namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:187:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
185 |     }
186 |
187 |     public func parser(_ parser: XMLParser, parseErrorOccurred parseErrorValue: Error) {
    |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
188 |         parseError = .xmlParsingFailed(parseErrorValue.localizedDescription)
189 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:38:41: error: cannot find type 'XMLParserDelegate' in scope
 36 | /// print(plan.patient.fullName)
 37 | /// ```
 38 | public final class BMPParser: NSObject, XMLParserDelegate {
    |                                         `- error: cannot find type 'XMLParserDelegate' in scope
 39 |
 40 |     private var result: Medikationsplan?
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:92:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 90 |         reset()
 91 |
 92 |         let parser = XMLParser(data: data)
    |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 93 |         parser.delegate = self
 94 |         parser.parse()
[16/18] Compiling MedikationsplanKit BMPModels.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/194] Compiling MedikationsplanKit BMPModels+Codable.swift
[18/194] Emitting module MedikationsplanKit
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:130:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
128 |
129 |     public func parser(
130 |         _ parser: XMLParser,
    |                   `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
131 |         didStartElement elementName: String,
132 |         namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:170:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
168 |
169 |     public func parser(
170 |         _ parser: XMLParser,
    |                   `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
171 |         didEndElement elementName: String,
172 |         namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:187:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
185 |     }
186 |
187 |     public func parser(_ parser: XMLParser, parseErrorOccurred parseErrorValue: Error) {
    |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
188 |         parseError = .xmlParsingFailed(parseErrorValue.localizedDescription)
189 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:38:41: error: cannot find type 'XMLParserDelegate' in scope
 36 | /// print(plan.patient.fullName)
 37 | /// ```
 38 | public final class BMPParser: NSObject, XMLParserDelegate {
    |                                         `- error: cannot find type 'XMLParserDelegate' in scope
 39 |
 40 |     private var result: Medikationsplan?
BUILD FAILURE 6.1 linux