Build Information
Failed to build RVS_ParseXMLDuration, reference master (6367c8
), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 15:12:50 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RiftValleySoftware/RVS_ParseXMLDuration
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6367c84 I switched out the command-line util for a static library, with tests, and updated the tools.
Cloned https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git
Revision (git rev-parse @):
6367c846d03dbc0d682e44dbb5e4d05d305fed6f
SUCCESS checkout https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/4] Emitting module RVS_ParseXMLDuration
[4/4] Compiling RVS_ParseXMLDuration RVS_ParseXMLDuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:64:41: error: 'scanCharacters(from:)' is only available in macOS 10.15 or newer
33 | A more readable breakdown is here: http://www.datypic.com/sc/xsd/t-xsd_duration.html
34 | */
35 | public extension String {
| `- note: add @available attribute to enclosing extension
36 | /* ################################################################## */
37 | /**
:
42 | - returns: An instance of DateComponents, set to the duration. Nil, if the parse failed for any reason.
43 | */
44 | var asXMLDuration: DateComponents! {
| `- note: add @available attribute to enclosing property
45 | /* ############################################################## */
46 | /**
:
62 | scanner.charactersToBeSkipped = numbers.union(valueIndicators).inverted // Ignore everything but what we give you.
63 | while !scanner.isAtEnd { // Keep going until the end.
64 | let value = scanner.scanCharacters(from: numbers)
| |- error: 'scanCharacters(from:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | let typeIndicator = scanner.scanCharacters(from: valueIndicators)
66 |
/Users/admin/builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:65:49: error: 'scanCharacters(from:)' is only available in macOS 10.15 or newer
33 | A more readable breakdown is here: http://www.datypic.com/sc/xsd/t-xsd_duration.html
34 | */
35 | public extension String {
| `- note: add @available attribute to enclosing extension
36 | /* ################################################################## */
37 | /**
:
42 | - returns: An instance of DateComponents, set to the duration. Nil, if the parse failed for any reason.
43 | */
44 | var asXMLDuration: DateComponents! {
| `- note: add @available attribute to enclosing property
45 | /* ############################################################## */
46 | /**
:
63 | while !scanner.isAtEnd { // Keep going until the end.
64 | let value = scanner.scanCharacters(from: numbers)
65 | let typeIndicator = scanner.scanCharacters(from: valueIndicators)
| |- error: 'scanCharacters(from:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 |
67 | // Quick validation and unwrapping.
BUILD FAILURE 6.2 macosSpm