Build Information
Failed to build TrainInformationService, reference master (c87787), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 10:49:13 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dchakarov/TrainInformationService.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dchakarov/TrainInformationService
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c87787c Merge pull request #4 from kiliszekmarcin/master
Cloned https://github.com/dchakarov/TrainInformationService.git
Revision (git rev-parse @):
c87787c3b3d1ed822b6026fa1b1f2d6c1be009bf
SUCCESS checkout https://github.com/dchakarov/TrainInformationService.git at master
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2858] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.10s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.7.4 (3.40s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.7.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "traininformationservice",
"name": "TrainInformationService",
"url": "https://github.com/dchakarov/TrainInformationService.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TrainInformationService",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swxmlhash",
"name": "SWXMLHash",
"url": "https://github.com/drmohundro/SWXMLHash.git",
"version": "4.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SWXMLHash",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/dchakarov/TrainInformationService.git
[1/157] Fetching traininformationservice
Fetched https://github.com/dchakarov/TrainInformationService.git from cache (0.71s)
Fetching https://github.com/drmohundro/SWXMLHash.git from cache
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.53s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (0.60s)
Creating working copy for https://github.com/dchakarov/TrainInformationService.git
Working copy of https://github.com/dchakarov/TrainInformationService.git resolved at master (c87787c)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.0
warning: '.resolve-product-dependencies': dependency 'traininformationservice' is not used by any target
Found 1 product dependencies
- SWXMLHash
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/dchakarov/TrainInformationService.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/7] Compiling SWXMLHash shim.swift
[5/7] Compiling SWXMLHash SWXMLHash+TypeConversion.swift
[6/7] Compiling SWXMLHash SWXMLHash.swift
[7/7] Emitting module SWXMLHash
[8/12] Compiling TrainInformationService CallingPoint.swift
[9/12] Emitting module TrainInformationService
[10/12] Compiling TrainInformationService StationBoard.swift
[11/12] Compiling TrainInformationService DepartingService.swift
[12/12] Compiling TrainInformationService TrainInformationService.swift
/Users/admin/builder/spi-builder-workspace/Sources/TrainInformationService/TrainInformationService.swift:199:50: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
167 |
168 | @available(iOS 15.0, *)
169 | extension TrainInformationService {
| `- note: add '@available' attribute to enclosing extension
170 |
171 | func executeSoapRequest(_ request: String, parameters: [String: String]) async throws -> Data {
| `- note: add '@available' attribute to enclosing instance method
172 | var paramLines = [String]()
173 | for (key, value) in parameters {
:
197 | urlRequest.httpBody = soapMessage.data(using: .utf8, allowLossyConversion: false)
198 |
199 | let (data, _) = try await defaultSession.data(for: urlRequest)
| |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
200 |
201 | return data
BUILD FAILURE 6.3 macosSpm