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 Linux on 19 Jun 2025 16:12:46 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kareman/Patterns.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-se0270-range-set
Fetching https://github.com/apple/swift-argument-parser
[1/76] Fetching swift-se0270-range-set
Fetched https://github.com/apple/swift-se0270-range-set from cache (0.33s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.37s)
Computing version for https://github.com/apple/swift-se0270-range-set
Computed https://github.com/apple/swift-se0270-range-set at 1.0.1 (1.95s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (1.17s)
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
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/22] Compiling SE0270_RangeSet Partition.swift
[8/22] Compiling SE0270_RangeSet Pair.swift
[9/22] Compiling SE0270_RangeSet DiscontiguousSlice.swift
[10/22] Compiling SE0270_RangeSet RangeSetStorage.swift
[11/22] Emitting module SE0270_RangeSet
[12/22] Compiling SE0270_RangeSet CollectionExtensions.swift
[13/22] Compiling SE0270_RangeSet RangeSet.swift
[14/23] Emitting module ArgumentParserToolInfo
[15/23] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/28] Wrapping AST for ArgumentParserToolInfo for debugging
[18/42] Wrapping AST for SE0270_RangeSet for debugging
[20/78] Compiling ArgumentParser NameSpecification.swift
[21/78] Compiling ArgumentParser Option.swift
[22/80] Compiling ArgumentParser ParsableCommand.swift
[23/80] Compiling ArgumentParser ArgumentDecoder.swift
[25/80] Compiling ArgumentParser OptionGroup.swift
[26/80] Compiling ArgumentParser CommandConfiguration.swift
[27/80] Compiling ArgumentParser EnumerableFlag.swift
[28/80] Compiling ArgumentParser ExpressibleByArgument.swift
[29/84] Compiling ArgumentParser CollectionExtensions.swift
[30/84] Compiling ArgumentParser SequenceExtensions.swift
[31/84] Compiling ArgumentParser StringExtensions.swift
[32/84] Compiling ArgumentParser Tree.swift
[33/84] Compiling ArgumentParser ArgumentHelp.swift
[34/84] Compiling ArgumentParser CompletionKind.swift
[35/84] Compiling ArgumentParser Errors.swift
[36/84] Compiling ArgumentParser Flag.swift
[38/84] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/84] Compiling ArgumentParser CompletionsGenerator.swift
[40/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[41/84] Compiling ArgumentParser ZshCompletionsGenerator.swift
[42/84] Compiling ArgumentParser Argument.swift
[43/84] Emitting module ArgumentParser
[44/84] Compiling ArgumentParser ParsableArguments.swift
[45/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[48/84] Compiling Patterns Regex.swift
[49/84] Emitting module Patterns
/host/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) {
/host/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) {
/host/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) {
/host/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/84] Compiling Patterns VMBacktrack.swift
/host/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) {
/host/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) {
/host/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) {
/host/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) {
/host/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) {
/host/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) {
/host/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) {
/host/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) {
/host/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) {
/host/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 | 	}
/host/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 | 	}
/host/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/84] Compiling ArgumentParser ParserError.swift
[69/84] Compiling ArgumentParser SplitArguments.swift
[70/84] Compiling ArgumentParser DumpHelpGenerator.swift
[71/84] Compiling ArgumentParser ArgumentSet.swift
[72/84] Compiling ArgumentParser CommandParser.swift
[73/84] Compiling ArgumentParser InputOrigin.swift
[74/84] Compiling ArgumentParser Name.swift
[75/84] Compiling ArgumentParser Parsed.swift
[76/84] Compiling ArgumentParser HelpCommand.swift
[77/84] Compiling ArgumentParser HelpGenerator.swift
[78/84] Compiling ArgumentParser MessageInfo.swift
[79/84] Compiling ArgumentParser UsageGenerator.swift
[81/86] Wrapping AST for Patterns for debugging
[82/86] Wrapping AST for ArgumentParser for debugging
[84/88] Emitting module unicode_properties
[85/88] Compiling unicode_properties main.swift
/host/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>
[86/89] Wrapping AST for unicode_properties for debugging
[87/89] Write Objects.LinkFileList
[88/89] Linking unicode_properties
Build complete! (31.57s)
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" : "/host/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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.