Build Information
Failed to build RVS_ParseXMLDuration with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/RiftValleySoftware/RVS_ParseXMLDuration.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/4] Emitting module RVS_ParseXMLDuration
[4/4] Compiling RVS_ParseXMLDuration RVS_ParseXMLDuration.swift
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/3] Emitting module RVS_ParseXMLDuration
[3/3] Compiling RVS_ParseXMLDuration RVS_ParseXMLDuration.swift
/Users/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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/builder/builds/UKfvDsi8u/1/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.10 macosSpm