Build Information
Failed to build RVS_ParseXMLDuration, reference 1.2.8 (6367c8
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 13:55:53 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git
Reference: 1.2.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RiftValleySoftware/RVS_ParseXMLDuration
* tag 1.2.8 -> FETCH_HEAD
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 1.2.8
========================================
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",
"dependencies": [
{
"identity": "rvs_parsexmlduration",
"name": "RVS_ParseXMLDuration",
"url": "https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RVS_ParseXMLDuration",
"dependencies": [
]
}
]
}
Fetching https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git
[1/420] Fetching rvs_parsexmlduration
Fetched https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git from cache (1.22s)
Creating working copy for https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git
Working copy of https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git resolved at 1.2.8 (6367c84)
warning: '.resolve-product-dependencies': dependency 'rvs_parsexmlduration' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.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.0 macosSpm