The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Regex, reference 0.3.0 (69946a), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 11:23:09 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/davidskrundz/regex.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/davidskrundz/regex
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 69946aa Update to Swift 4.1
Cloned https://github.com/davidskrundz/regex.git
Revision (git rev-parse @):
69946aa32a1de7ac4663398e53b1017ddd2691e7
SUCCESS checkout https://github.com/davidskrundz/regex.git at 0.3.0
Fetching https://github.com/DavidSkrundz/Collections.git
[1/203] Fetching collections
Fetched https://github.com/DavidSkrundz/Collections.git from cache (0.68s)
Computing version for https://github.com/DavidSkrundz/Collections.git
Computed https://github.com/DavidSkrundz/Collections.git at 1.1.2 (0.58s)
Creating working copy for https://github.com/DavidSkrundz/Collections.git
Working copy of https://github.com/DavidSkrundz/Collections.git resolved at 1.1.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "regex",
      "name": "Regex",
      "url": "https://github.com/davidskrundz/regex.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/regex",
      "dependencies": [
        {
          "identity": "collections",
          "name": "Collections",
          "url": "https://github.com/DavidSkrundz/Collections.git",
          "version": "1.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Collections",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/davidskrundz/regex.git
[1/227] Fetching regex
Fetched https://github.com/davidskrundz/regex.git from cache (0.78s)
Fetching https://github.com/DavidSkrundz/Collections.git from cache
Fetched https://github.com/DavidSkrundz/Collections.git from cache (0.44s)
Computing version for https://github.com/DavidSkrundz/Collections.git
Computed https://github.com/DavidSkrundz/Collections.git at 1.1.2 (0.02s)
Creating working copy for https://github.com/davidskrundz/regex.git
Working copy of https://github.com/davidskrundz/regex.git resolved at 0.3.0 (69946aa)
Creating working copy for https://github.com/DavidSkrundz/Collections.git
Working copy of https://github.com/DavidSkrundz/Collections.git resolved at 1.1.2
warning: '.resolve-product-dependencies': dependency 'regex' is not used by any target
Found 1 product dependencies
  - Collections
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/davidskrundz/regex.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/7] Write sources
[2/7] Write swift-version--7754E27361AE5C74.txt
[4/17] Compiling Generator Generator+Sequence.swift
[5/17] Compiling Generator Generator+Previous.swift
[6/17] Compiling Generator Generator.swift
[7/17] Compiling Generator Generator+Move.swift
[8/17] Compiling Generator Generator+String.swift
[9/17] Compiling Generator Character.swift
[10/17] Compiling Generator Generator+Peek.swift
[11/17] Compiling Generator Generator+Iterator.swift
[12/17] Compiling Generator Collection+Generator.swift
[13/17] Emitting module Generator
[14/48] Compiling Regex Symbol.swift
[15/48] Compiling Regex Token+Parser.swift
[16/48] Compiling Regex Regex.swift
[17/51] Compiling Regex LexerState.swift
[18/51] Compiling Regex Token.swift
[19/51] Compiling Regex Parser+Group.swift
[20/51] Compiling Regex SaveSlot.swift
[21/51] Compiling Regex Character+Regex.swift
[22/51] Compiling Regex Collection.swift
[23/51] Compiling Regex Sequence.swift
[24/51] Emitting module Regex
/Users/admin/builder/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[25/51] Compiling Regex Parser+Quantifier.swift
[26/51] Compiling Regex Parser.swift
[27/51] Compiling Regex ParserState.swift
[28/51] Compiling Regex Engine+Matching.swift
[29/51] Compiling Regex Engine.swift
[30/51] Compiling Regex Match.swift
[31/51] Compiling Regex RegexError.swift
[32/51] Compiling Regex RegexMatch.swift
[33/51] Compiling Regex Engine+Execution.swift
[34/51] Compiling Regex Compiler+GroupCorrection.swift
[35/51] Compiling Regex Compiler+Quantifier.swift
[36/51] Compiling Regex Compiler.swift
[37/51] Compiling Regex Instruction.swift
[38/51] Compiling Regex String+Regex.swift
[39/51] Compiling Regex String.swift
[40/51] Compiling Regex Lexer+CharacterSet.swift
[41/51] Compiling Regex Lexer+Escaped.swift
[42/51] Compiling Regex Thread.swift
/Users/admin/builder/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[43/51] Compiling Regex ThreadID.swift
/Users/admin/builder/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[44/51] Compiling Regex ThreadIDGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[45/51] Compiling Regex Lexer+Flags.swift
[46/51] Compiling Regex Lexer+Quantifier.swift
[47/51] Compiling Regex Lexer.swift
[47/51] Write Objects.LinkFileList
[49/51] Archiving libsRegex.a
[50/51] Linking libdRegex.dylib
Build complete! (8.04s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/DavidSkrundz/Collections.git"
    }
  ],
  "manifest_display_name" : "Regex",
  "name" : "Regex",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Regex",
      "targets" : [
        "Regex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "sRegex",
      "targets" : [
        "Regex"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "dRegex",
      "targets" : [
        "Regex"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RegexTests",
      "module_type" : "SwiftTarget",
      "name" : "RegexTests",
      "path" : "Tests/RegexTests",
      "sources" : [
        "CompilerRegressionTests.swift",
        "CompilerTests.swift",
        "Extensions/Symbol+Equatable.swift",
        "Extensions/Token+Equatable.swift",
        "LexerRegressionTests.swift",
        "LexerTests.swift",
        "ParserRegressionTests.swift",
        "ParserTests.swift",
        "RegexRegressionTests.swift",
        "RegexTests.swift",
        "ThreadID+Testing.swift",
        "VMRegressionTests.swift",
        "VMTests.swift"
      ],
      "target_dependencies" : [
        "Regex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Regex",
      "module_type" : "SwiftTarget",
      "name" : "Regex",
      "path" : "Sources/Regex",
      "product_dependencies" : [
        "Generator"
      ],
      "product_memberships" : [
        "Regex",
        "sRegex",
        "dRegex"
      ],
      "sources" : [
        "Compiler/Compiler+GroupCorrection.swift",
        "Compiler/Compiler+Quantifier.swift",
        "Compiler/Compiler.swift",
        "Compiler/Instruction.swift",
        "Compiler/SaveSlot.swift",
        "Extensions/Character+Regex.swift",
        "Extensions/Collection.swift",
        "Extensions/Sequence.swift",
        "Extensions/String+Regex.swift",
        "Extensions/String.swift",
        "Lexer/Lexer+CharacterSet.swift",
        "Lexer/Lexer+Escaped.swift",
        "Lexer/Lexer+Flags.swift",
        "Lexer/Lexer+Quantifier.swift",
        "Lexer/Lexer.swift",
        "Lexer/LexerState.swift",
        "Lexer/Token.swift",
        "Parser/Parser+Group.swift",
        "Parser/Parser+Quantifier.swift",
        "Parser/Parser.swift",
        "Parser/ParserState.swift",
        "Parser/Symbol.swift",
        "Parser/Token+Parser.swift",
        "Regex.swift",
        "RegexError.swift",
        "RegexMatch.swift",
        "VM/Engine+Execution.swift",
        "VM/Engine+Matching.swift",
        "VM/Engine.swift",
        "VM/Match.swift",
        "VM/Thread.swift",
        "VM/ThreadID.swift",
        "VM/ThreadIDGenerator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
Done.