The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Patterns, reference 0.1.2 (c778b7), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 16:09:14 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/kareman/Patterns.git
Reference: 0.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kareman/Patterns
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at c778b7d Remove any mention of specific Swift version
Cloned https://github.com/kareman/Patterns.git
Revision (git rev-parse @):
c778b7d547c0c9344755ef1916224fd91478bddd
SUCCESS checkout https://github.com/kareman/Patterns.git at 0.1.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kareman/Patterns.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Write sources
[1/10] Write unicode_properties-entitlement.plist
[1/10] Write sources
[6/10] Write swift-version-1EA4D86E10B52AF.txt
[8/19] Compiling SE0270_RangeSet RangeSetStorage.swift
[9/19] Compiling SE0270_RangeSet DiscontiguousSlice.swift
[10/19] Compiling SE0270_RangeSet RangeSet.swift
[11/19] Compiling SE0270_RangeSet Partition.swift
[12/19] Compiling SE0270_RangeSet Pair.swift
[13/19] Compiling SE0270_RangeSet CollectionExtensions.swift
[14/19] Emitting module SE0270_RangeSet
[15/19] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/19] Emitting module ArgumentParserToolInfo
[17/74] Compiling ArgumentParser ParsableCommand.swift
[18/74] Compiling ArgumentParser ArgumentDecoder.swift
[19/74] Compiling ArgumentParser Flag.swift
[20/74] Compiling ArgumentParser NameSpecification.swift
[21/76] Compiling ArgumentParser ParsableArgumentsValidation.swift
[24/76] Compiling Patterns Regex.swift
[25/79] Compiling ArgumentParser ArgumentSet.swift
[26/79] Compiling ArgumentParser CommandParser.swift
[27/79] Compiling ArgumentParser InputOrigin.swift
[28/79] Compiling ArgumentParser Name.swift
[29/79] Compiling Patterns VMBacktrack.swift
[30/79] Compiling ArgumentParser ParsedValues.swift
[31/79] Compiling ArgumentParser ParserError.swift
[32/79] Compiling ArgumentParser SplitArguments.swift
[35/79] Compiling ArgumentParser Option.swift
[36/79] Compiling ArgumentParser OptionGroup.swift
[37/79] Compiling ArgumentParser CommandConfiguration.swift
[38/79] Compiling ArgumentParser EnumerableFlag.swift
[39/79] Compiling ArgumentParser ExpressibleByArgument.swift
[40/79] Compiling ArgumentParser ParsableArguments.swift
[41/79] Compiling ArgumentParser Argument.swift
[42/79] Compiling ArgumentParser ArgumentHelp.swift
[43/79] Compiling ArgumentParser CompletionKind.swift
[44/79] Compiling ArgumentParser Errors.swift
[45/79] Emitting module ArgumentParser
[46/79] Compiling ArgumentParser BashCompletionsGenerator.swift
[47/79] Compiling ArgumentParser CompletionsGenerator.swift
[48/79] Compiling ArgumentParser FishCompletionsGenerator.swift
[49/79] Compiling ArgumentParser ZshCompletionsGenerator.swift
[50/79] Emitting module Patterns
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:65:1: warning: extension declares a conformance of imported type 'UTF8View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
63 | }
64 |
65 | extension String.UTF8View: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UTF8View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
66 | 	@inlinable
67 | 	public init?(_ description: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:72:1: warning: extension declares a conformance of imported type 'UTF16View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
70 | }
71 |
72 | extension String.UTF16View: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UTF16View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
73 | 	@inlinable
74 | 	public init?(_ description: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:79:1: warning: extension declares a conformance of imported type 'UnicodeScalarView' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
77 | }
78 |
79 | extension String.UnicodeScalarView: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UnicodeScalarView' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
80 | 	@inlinable
81 | 	public init?(_ description: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Grammar.swift:125:25: warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 27 | ///   will lead to infinite recursion.
 28 | @dynamicMemberLookup
 29 | public class Grammar<Input: BidirectionalCollection>: Pattern where Input.Element: Hashable {
    |                      `- note: 'Input' previously declared here
 30 | 	/// Calls another subpattern in a grammar.
 31 | 	public struct CallPattern: Pattern {
    :
123 | 	}
124 |
125 | 	public static func == <Input>(lhs: Grammar<Input>, rhs: Grammar<Input>) -> Bool {
    |                         `- warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
126 | 		lhs.patterns.elementsEqual(rhs.patterns, by: { $0.name == $1.name && $0.pattern == $1.pattern })
127 | 	}
[51/79] Compiling ArgumentParser SequenceExtensions.swift
[52/79] Compiling ArgumentParser StringExtensions.swift
[53/79] Compiling ArgumentParser Tree.swift
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Grammar.swift:125:25: warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 27 | ///   will lead to infinite recursion.
 28 | @dynamicMemberLookup
 29 | public class Grammar<Input: BidirectionalCollection>: Pattern where Input.Element: Hashable {
    |                      `- note: 'Input' previously declared here
 30 | 	/// Calls another subpattern in a grammar.
 31 | 	public struct CallPattern: Pattern {
    :
123 | 	}
124 |
125 | 	public static func == <Input>(lhs: Grammar<Input>, rhs: Grammar<Input>) -> Bool {
    |                         `- warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
126 | 		lhs.patterns.elementsEqual(rhs.patterns, by: { $0.name == $1.name && $0.pattern == $1.pattern })
127 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Grammar.swift:125:25: warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 27 | ///   will lead to infinite recursion.
 28 | @dynamicMemberLookup
 29 | public class Grammar<Input: BidirectionalCollection>: Pattern where Input.Element: Hashable {
    |                      `- note: 'Input' previously declared here
 30 | 	/// Calls another subpattern in a grammar.
 31 | 	public struct CallPattern: Pattern {
    :
123 | 	}
124 |
125 | 	public static func == <Input>(lhs: Grammar<Input>, rhs: Grammar<Input>) -> Bool {
    |                         `- warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
126 | 		lhs.patterns.elementsEqual(rhs.patterns, by: { $0.name == $1.name && $0.pattern == $1.pattern })
127 | 	}
[68/79] Compiling ArgumentParser MessageInfo.swift
[69/79] Compiling ArgumentParser UsageGenerator.swift
[70/79] Compiling ArgumentParser CollectionExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:65:1: warning: extension declares a conformance of imported type 'UTF8View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
63 | }
64 |
65 | extension String.UTF8View: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UTF8View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
66 | 	@inlinable
67 | 	public init?(_ description: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:72:1: warning: extension declares a conformance of imported type 'UTF16View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
70 | }
71 |
72 | extension String.UTF16View: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UTF16View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
73 | 	@inlinable
74 | 	public init?(_ description: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:79:1: warning: extension declares a conformance of imported type 'UnicodeScalarView' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
77 | }
78 |
79 | extension String.UnicodeScalarView: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UnicodeScalarView' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
80 | 	@inlinable
81 | 	public init?(_ description: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:65:1: warning: extension declares a conformance of imported type 'UTF8View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
63 | }
64 |
65 | extension String.UTF8View: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UTF8View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
66 | 	@inlinable
67 | 	public init?(_ description: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:72:1: warning: extension declares a conformance of imported type 'UTF16View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
70 | }
71 |
72 | extension String.UTF16View: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UTF16View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
73 | 	@inlinable
74 | 	public init?(_ description: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:79:1: warning: extension declares a conformance of imported type 'UnicodeScalarView' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
77 | }
78 |
79 | extension String.UnicodeScalarView: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UnicodeScalarView' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
80 | 	@inlinable
81 | 	public init?(_ description: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:65:1: warning: extension declares a conformance of imported type 'UTF8View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
63 | }
64 |
65 | extension String.UTF8View: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UTF8View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
66 | 	@inlinable
67 | 	public init?(_ description: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:72:1: warning: extension declares a conformance of imported type 'UTF16View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
70 | }
71 |
72 | extension String.UTF16View: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UTF16View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
73 | 	@inlinable
74 | 	public init?(_ description: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:79:1: warning: extension declares a conformance of imported type 'UnicodeScalarView' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
77 | }
78 |
79 | extension String.UnicodeScalarView: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UnicodeScalarView' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
80 | 	@inlinable
81 | 	public init?(_ description: String) {
[74/79] Compiling ArgumentParser DumpHelpGenerator.swift
[75/79] Compiling ArgumentParser HelpCommand.swift
[76/79] Compiling ArgumentParser HelpGenerator.swift
[77/81] Compiling unicode_properties main.swift
/Users/admin/builder/spi-builder-workspace/Sources/unicode_properties/main.swift:12:30: warning: 'start' is deprecated: renamed to 'Start()' [#DeprecatedDeclaration]
 10 | 	let hexNumber = Capture(name: "hexNumber", hexDigit+)
 11 | 	let hexRange = hexNumber • ".." • hexNumber / hexNumber
 12 | 	let rangeAndProperty = Line.start • hexRange • Skip() • "; " • Capture(name: "property", Skip()) • " "
    |                              |- warning: 'start' is deprecated: renamed to 'Start()' [#DeprecatedDeclaration]
    |                              `- note: use 'Start()' instead
 13 |
 14 | 	return try! Parser(search: rangeAndProperty).matches(in: text).map { match in
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[78/81] Emitting module unicode_properties
[78/81] Write Objects.LinkFileList
[79/81] Linking unicode_properties
[80/81] Applying unicode_properties
Build complete! (8.88s)
Fetching https://github.com/apple/swift-se0270-range-set
Fetching https://github.com/apple/swift-argument-parser
[3/76] Fetching swift-se0270-range-set
[77/15456] Fetching swift-se0270-range-set, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.50s)
Fetched https://github.com/apple/swift-se0270-range-set from cache (1.50s)
Computing version for https://github.com/apple/swift-se0270-range-set
Computed https://github.com/apple/swift-se0270-range-set at 1.0.1 (2.04s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.49s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-se0270-range-set
Working copy of https://github.com/apple/swift-se0270-range-set resolved at 1.0.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-se0270-range-set",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-se0270-range-set"
    }
  ],
  "manifest_display_name" : "Patterns",
  "name" : "Patterns",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Patterns",
      "targets" : [
        "Patterns"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "unicode_properties",
      "targets" : [
        "unicode_properties",
        "Patterns"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "unicode_properties",
      "module_type" : "SwiftTarget",
      "name" : "unicode_properties",
      "path" : "Sources/unicode_properties",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "unicode_properties"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Patterns"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "PerformanceTests",
      "path" : "Tests/PerformanceTests",
      "sources" : [
        "StringTests.swift",
        "UTF8Tests.swift"
      ],
      "target_dependencies" : [
        "Patterns"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PatternsTests",
      "module_type" : "SwiftTarget",
      "name" : "PatternsTests",
      "path" : "Tests/PatternsTests",
      "sources" : [
        "ConcatenationTests.swift",
        "GeneralTests.swift",
        "GrammarTests.swift",
        "PatternTests.swift",
        "SkipTests.swift",
        "TestHelpers.swift"
      ],
      "target_dependencies" : [
        "Patterns"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Patterns",
      "module_type" : "SwiftTarget",
      "name" : "Patterns",
      "path" : "Sources/Patterns",
      "product_dependencies" : [
        "SE0270_RangeSet"
      ],
      "product_memberships" : [
        "Patterns",
        "unicode_properties"
      ],
      "sources" : [
        "Atomic Patterns/Line.swift",
        "Atomic Patterns/Literal.swift",
        "Atomic Patterns/OneOf.swift",
        "Atomic Patterns/Word.swift",
        "Decoder.swift",
        "General/General.swift",
        "General/Group.swift",
        "Grammar.swift",
        "Operations on Patterns/And.swift",
        "Operations on Patterns/AnyPattern.swift",
        "Operations on Patterns/Capture.swift",
        "Operations on Patterns/Choice.swift",
        "Operations on Patterns/Concatenation.swift",
        "Operations on Patterns/Not.swift",
        "Operations on Patterns/Repetition.swift",
        "Operations on Patterns/Skip.swift",
        "Optimise Instructions.swift",
        "Parser.swift",
        "Pattern And Instruction.swift",
        "Regex.swift",
        "VMBacktrack.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LongTests",
      "module_type" : "SwiftTarget",
      "name" : "LongTests",
      "path" : "Tests/LongTests",
      "sources" : [
        "LongTests.swift"
      ],
      "target_dependencies" : [
        "Patterns"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.0"
}
Done.