The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MoRegex, reference master (fa2b6c), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 06:29:58 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kittymo/MoRegex.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kittymo/MoRegex
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fa2b6c1 Merge pull request #3 from happiness9721/master
Cloned https://github.com/kittymo/MoRegex.git
Revision (git rev-parse @):
fa2b6c14c5f3536acfcfc0d430e665d061eb84c5
SUCCESS checkout https://github.com/kittymo/MoRegex.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kittymo/MoRegex.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/4] Emitting module MoRegex
[4/4] Compiling MoRegex MoRegex.swift
/Users/admin/builder/spi-builder-workspace/MoRegex/MoRegex.swift:38:56: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
 36 |
 37 |     public func match(_ input: String, replaces: [String?]? = nil) -> [String]? {
 38 |         let range = NSRange(location: 0, length: input.characters.count)
    |                                                        `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
 39 |         let matches = self.internalRE.matches(in: input, options: .reportProgress, range: range)
 40 |         if matches.count == 0 {
/Users/admin/builder/spi-builder-workspace/MoRegex/MoRegex.swift:89:56: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
 87 |
 88 |     public func replace(_ input: String, template: String) -> String? {
 89 |         let range = NSRange(location: 0, length: input.characters.count)
    |                                                        `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
 90 |         let trimmedString = self.internalRE.stringByReplacingMatches(in: input, options: .reportProgress, range: range, withTemplate: template)
 91 |         return trimmedString
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (3.20s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MoRegex",
  "name" : "MoRegex",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MoRegex",
      "targets" : [
        "MoRegex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MoRegex",
      "module_type" : "SwiftTarget",
      "name" : "MoRegex",
      "path" : "MoRegex",
      "product_memberships" : [
        "MoRegex"
      ],
      "sources" : [
        "MoRegex.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.