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 1.5.0 (2070df), with Swift 6.2 (beta) for Linux on 17 Jun 2025 21:02:56 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/tevelee/Eval.git
Reference: 1.5.0
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/tevelee/Eval
 * tag               1.5.0      -> FETCH_HEAD
HEAD is now at 2070dfb Version 1.5.0
Cloned https://github.com/tevelee/Eval.git
Revision (git rev-parse @):
2070dfb6f739a9665c81601162ac16ee8291fb30
SUCCESS checkout https://github.com/tevelee/Eval.git at 1.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tevelee/Eval.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling Eval Pattern.swift
[4/11] Compiling Eval TemplateInterpreter.swift
/host/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
[5/11] Compiling Eval Elements.swift
/host/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.
/host/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.
[6/11] Compiling Eval Common.swift
[7/11] Emitting module Eval
/host/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.
/host/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.
/host/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
[8/11] Compiling Eval TypedInterpreter.swift
[9/11] Compiling Eval MatchResult.swift
[10/11] Compiling Eval Matcher.swift
[11/11] Compiling Eval Utils.swift
Build complete! (11.59s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Eval",
  "name" : "Eval",
  "path" : "/host/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/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"
}
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.