Build Information
Failed to build RVS_ParseXMLDuration with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-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/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-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/builds/h8344Zi3/0/finestructure/swiftpackageindex-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 (1.03s)
Creating working copy for https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git
Working copy of https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git resolved at master
warning: '.resolve-product-dependencies': dependency 'rvs_parsexmlduration' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/2] Emitting module RVS_ParseXMLDuration
[2/2] Compiling RVS_ParseXMLDuration RVS_ParseXMLDuration.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:64:41: error: 'scanCharacters(from:)' is only available in macOS 10.15 or newer
let value = scanner.scanCharacters(from: numbers)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:64:41: note: add 'if #available' version check
let value = scanner.scanCharacters(from: numbers)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:44:9: note: add @available attribute to enclosing property
var asXMLDuration: DateComponents! {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:35:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:65:49: error: 'scanCharacters(from:)' is only available in macOS 10.15 or newer
let typeIndicator = scanner.scanCharacters(from: valueIndicators)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:65:49: note: add 'if #available' version check
let typeIndicator = scanner.scanCharacters(from: valueIndicators)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:44:9: note: add @available attribute to enclosing property
var asXMLDuration: DateComponents! {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:35:8: note: add @available attribute to enclosing extension
public extension String {
^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/2] Emitting module RVS_ParseXMLDuration
[2/2] Compiling RVS_ParseXMLDuration RVS_ParseXMLDuration.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:64:41: error: 'scanCharacters(from:)' is only available in macOS 10.15 or newer
let value = scanner.scanCharacters(from: numbers)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:64:41: note: add 'if #available' version check
let value = scanner.scanCharacters(from: numbers)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:44:9: note: add @available attribute to enclosing property
var asXMLDuration: DateComponents! {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:35:8: note: add @available attribute to enclosing extension
public extension String {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:65:49: error: 'scanCharacters(from:)' is only available in macOS 10.15 or newer
let typeIndicator = scanner.scanCharacters(from: valueIndicators)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:65:49: note: add 'if #available' version check
let typeIndicator = scanner.scanCharacters(from: valueIndicators)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:44:9: note: add @available attribute to enclosing property
var asXMLDuration: DateComponents! {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/RVS_ParseXMLDuration/RVS_ParseXMLDuration.swift:35:8: note: add @available attribute to enclosing extension
public extension String {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm