Build Information
Failed to build RVS_ParseXMLDuration, reference master (6367c8
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 02:22:53 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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
========================================
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.18s)
Creating working copy for https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git
Working copy of https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git resolved at master (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.1
Building package at path: $PWD
https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git
https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git
{
"dependencies" : [
],
"manifest_display_name" : "RVS_ParseXMLDuration",
"name" : "RVS_ParseXMLDuration",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "RVS-ParseXMLDuration",
"targets" : [
"RVS_ParseXMLDuration"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RVS_ParseXMLDuration",
"module_type" : "SwiftTarget",
"name" : "RVS_ParseXMLDuration",
"path" : "Sources/RVS_ParseXMLDuration",
"product_memberships" : [
"RVS-ParseXMLDuration"
],
"sources" : [
"RVS_ParseXMLDuration.swift"
],
"type" : "library"
},
{
"c99name" : "RVS_ParseXMLDurationTests",
"module_type" : "SwiftTarget",
"name" : "RVS-ParseXMLDurationTests",
"path" : "Tests/RVS_ParseXMLDurationTests",
"sources" : [
"RVS_ParseXMLDurationTests.swift"
],
"target_dependencies" : [
"RVS_ParseXMLDuration"
],
"type" : "test"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.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.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/3] Emitting module RVS_ParseXMLDuration
[3/3] 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.1 macosSpm