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 Eval, reference master (df80bd), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 21:06:51 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/tevelee/Eval.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tevelee/Eval
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at df80bd8 CI update
Cloned https://github.com/tevelee/Eval.git
Revision (git rev-parse @):
df80bd880d561f1f12bdbac087f835bb13916d5e
SUCCESS checkout https://github.com/tevelee/Eval.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tevelee/Eval.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/11] Compiling Eval Utils.swift
[4/11] Compiling Eval MatchResult.swift
[5/11] Compiling Eval Pattern.swift
[6/11] Compiling Eval Elements.swift
/Users/admin/builder/spi-builder-workspace/Sources/Eval/Elements.swift:157:37: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
151 | /// Generic superclass of `Variable`s which are aware of their `Interpreter` classes,
152 | /// as they use it when mapping their values
153 | public class GenericVariable<T, I: Interpreter>: VariableProtocol, PatternElement, Equatable {
    |                              `- note: 'T' previously declared here
154 |     /// Maps and validates the variable value to another
155 |     /// - parameter body: Struct containing the raw matched value and an interpreter object
156 |     /// - returns: The transformed value or nil, if the value was validated with a negative result
157 |     public typealias VariableMapper<T, I: Interpreter> = (_ body: VariableBody<I>) -> T?
    |                                     `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
158 |
159 |     /// Unique identifier of the variable that is used when matching and returning them in the matcher.
/Users/admin/builder/spi-builder-workspace/Sources/Eval/Elements.swift:157:40: warning: generic parameter 'I' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
151 | /// Generic superclass of `Variable`s which are aware of their `Interpreter` classes,
152 | /// as they use it when mapping their values
153 | public class GenericVariable<T, I: Interpreter>: VariableProtocol, PatternElement, Equatable {
    |                                 `- note: 'I' previously declared here
154 |     /// Maps and validates the variable value to another
155 |     /// - parameter body: Struct containing the raw matched value and an interpreter object
156 |     /// - returns: The transformed value or nil, if the value was validated with a negative result
157 |     public typealias VariableMapper<T, I: Interpreter> = (_ body: VariableBody<I>) -> T?
    |                                        `- warning: generic parameter 'I' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
158 |
159 |     /// Unique identifier of the variable that is used when matching and returning them in the matcher.
[7/11] Compiling Eval Matcher.swift
[8/11] Emitting module Eval
/Users/admin/builder/spi-builder-workspace/Sources/Eval/Elements.swift:157:37: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
151 | /// Generic superclass of `Variable`s which are aware of their `Interpreter` classes,
152 | /// as they use it when mapping their values
153 | public class GenericVariable<T, I: Interpreter>: VariableProtocol, PatternElement, Equatable {
    |                              `- note: 'T' previously declared here
154 |     /// Maps and validates the variable value to another
155 |     /// - parameter body: Struct containing the raw matched value and an interpreter object
156 |     /// - returns: The transformed value or nil, if the value was validated with a negative result
157 |     public typealias VariableMapper<T, I: Interpreter> = (_ body: VariableBody<I>) -> T?
    |                                     `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
158 |
159 |     /// Unique identifier of the variable that is used when matching and returning them in the matcher.
/Users/admin/builder/spi-builder-workspace/Sources/Eval/Elements.swift:157:40: warning: generic parameter 'I' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
151 | /// Generic superclass of `Variable`s which are aware of their `Interpreter` classes,
152 | /// as they use it when mapping their values
153 | public class GenericVariable<T, I: Interpreter>: VariableProtocol, PatternElement, Equatable {
    |                                 `- note: 'I' previously declared here
154 |     /// Maps and validates the variable value to another
155 |     /// - parameter body: Struct containing the raw matched value and an interpreter object
156 |     /// - returns: The transformed value or nil, if the value was validated with a negative result
157 |     public typealias VariableMapper<T, I: Interpreter> = (_ body: VariableBody<I>) -> T?
    |                                        `- warning: generic parameter 'I' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
158 |
159 |     /// Unique identifier of the variable that is used when matching and returning them in the matcher.
/Users/admin/builder/spi-builder-workspace/Sources/Eval/TemplateInterpreter.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 24 | /// This interpreter is used to evaluate string expressions and return a transformed string, replacing the content where it matches certain patterns.
 25 | /// Typically used in web applications, where the rendering of an HTML page is provided as a template, and the application replaces certain statements, based on input parameters.
 26 | open class TemplateInterpreter<T>: Interpreter {
    |                                `- note: 'T' previously declared here
 27 |     /// The statements (patterns) registered to the interpreter. If found, these are going to be processed and replaced with the evaluated value
 28 |     public let statements: [Pattern<T, TemplateInterpreter<T>>]
    :
 76 |     /// - parameter next: The value of the current element in the iteration
 77 |     /// - returns: The a combined value based on the previous and the new value
 78 |     public typealias Reducer<T, K> = (_ existing: T, _ next: K) -> T
    |                              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 79 |
 80 |     /// In order to support generic types, not just plain String objects, a reducer helps to convert the output to the dedicated output type
[9/11] Compiling Eval Common.swift
[10/11] Compiling Eval TemplateInterpreter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Eval/TemplateInterpreter.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 24 | /// This interpreter is used to evaluate string expressions and return a transformed string, replacing the content where it matches certain patterns.
 25 | /// Typically used in web applications, where the rendering of an HTML page is provided as a template, and the application replaces certain statements, based on input parameters.
 26 | open class TemplateInterpreter<T>: Interpreter {
    |                                `- note: 'T' previously declared here
 27 |     /// The statements (patterns) registered to the interpreter. If found, these are going to be processed and replaced with the evaluated value
 28 |     public let statements: [Pattern<T, TemplateInterpreter<T>>]
    :
 76 |     /// - parameter next: The value of the current element in the iteration
 77 |     /// - returns: The a combined value based on the previous and the new value
 78 |     public typealias Reducer<T, K> = (_ existing: T, _ next: K) -> T
    |                              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 79 |
 80 |     /// In order to support generic types, not just plain String objects, a reducer helps to convert the output to the dedicated output type
[11/11] Compiling Eval TypedInterpreter.swift
Build complete! (4.41s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Eval",
  "name" : "Eval",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Eval",
      "targets" : [
        "Eval"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EvalTests",
      "module_type" : "SwiftTarget",
      "name" : "EvalTests",
      "path" : "Tests/EvalTests",
      "sources" : [
        "IntegrationTests/InterpreterTests.swift",
        "IntegrationTests/PerformanceTest.swift",
        "IntegrationTests/Suffix.swift",
        "IntegrationTests/TemplateTests.swift",
        "UnitTests/DataTypeTests.swift",
        "UnitTests/FunctionTests.swift",
        "UnitTests/InterpreterContextTests.swift",
        "UnitTests/KeywordTests.swift",
        "UnitTests/LiteralTests.swift",
        "UnitTests/MatchResultTests.swift",
        "UnitTests/MatchStatementTests.swift",
        "UnitTests/MatcherTests.swift",
        "UnitTests/PatternTests.swift",
        "UnitTests/TemplateInterpreterTests.swift",
        "UnitTests/TypedInterpreterTests.swift",
        "UnitTests/UtilTests.swift",
        "UnitTests/VariableProcessor.swift",
        "UnitTests/VariableTests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "Eval"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Eval",
      "module_type" : "SwiftTarget",
      "name" : "Eval",
      "path" : "Sources/Eval",
      "product_memberships" : [
        "Eval"
      ],
      "sources" : [
        "Common.swift",
        "Elements.swift",
        "TemplateInterpreter.swift",
        "TypedInterpreter.swift",
        "Utilities/MatchResult.swift",
        "Utilities/Matcher.swift",
        "Utilities/Pattern.swift",
        "Utilities/Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.