The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LinkIndex, reference v1.0.0 (6461fa), with Swift 6.1 for macOS (SPM) on 23 Oct 2026 07:39:01 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build 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.1
Building package at path:  $PWD
https://github.com/Yida-Dev/linkindex-swift.git
https://github.com/Yida-Dev/linkindex-swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LinkIndex",
  "name" : "LinkIndex",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LinkIndex",
      "targets" : [
        "LinkIndex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LinkIndexTests",
      "module_type" : "SwiftTarget",
      "name" : "LinkIndexTests",
      "path" : "Tests/LinkIndexTests",
      "sources" : [
        "LinkIndexTests.swift"
      ],
      "target_dependencies" : [
        "LinkIndex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LinkIndex",
      "module_type" : "SwiftTarget",
      "name" : "LinkIndex",
      "path" : "Sources/LinkIndex",
      "product_memberships" : [
        "LinkIndex"
      ],
      "sources" : [
        "LinkIndex.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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 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 |
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 LinkIndex
[3/3] 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.1 macosSpm