Build Information
Failed to build LinkIndex, reference v1.0.0 (6461fa), with Swift 6.3 for macOS (SPM) on 23 Oct 2026 07:38:44 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Yida-Dev/linkindex-swift.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Yida-Dev/linkindex-swift
* tag v1.0.0 -> FETCH_HEAD
HEAD is now at 6461fa9 Initial release: LinkIndex 1.0.0
Cloned https://github.com/Yida-Dev/linkindex-swift.git
Revision (git rev-parse @):
6461fa9f2cc5529f956fd2920363de797413e370
SUCCESS checkout https://github.com/Yida-Dev/linkindex-swift.git at v1.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/Yida-Dev/linkindex-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-69A768CDF2A0BEE1.txt
[3/4] Emitting module LinkIndex
[4/4] Compiling LinkIndex LinkIndex.swift
/Users/admin/builder/spi-builder-workspace/Sources/LinkIndex/LinkIndex.swift:8:11: error: value of type 'String' has no member 'trimmingCharacters'
6 | /// Trims ASCII whitespace from both ends.
7 | public static func trim(_ s: String) -> String {
8 | s.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: value of type 'String' has no member 'trimmingCharacters'
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/LinkIndex/LinkIndex.swift:8:35: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
6 | /// Trims ASCII whitespace from both ends.
7 | public static func trim(_ s: String) -> String {
8 | s.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
9 | }
10 |
BUILD FAILURE 6.3 macosSpm