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 KituraStencil, reference 2.0.0 (1909bd), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 05:27:21 UTC.

Swift 6 data race errors: 3

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/Kitura/Kitura-StencilTemplateEngine.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kitura/Kitura-StencilTemplateEngine
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 1909bd4 TravisCI: remove swift 4.x; add swift 5.4 (#55)
Cloned https://github.com/Kitura/Kitura-StencilTemplateEngine.git
Revision (git rev-parse @):
1909bd470295fb7653a58f93a7a8a0776570bc4d
SUCCESS checkout https://github.com/Kitura/Kitura-StencilTemplateEngine.git at 2.0.0
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/kylef/Stencil.git
[1/438] Fetching kitura-templateengine
[120/5627] Fetching kitura-templateengine, stencil
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (5.06s)
Fetched https://github.com/kylef/Stencil.git from cache (5.06s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.59s)
Computing version for https://github.com/kylef/Stencil.git
Computed https://github.com/kylef/Stencil.git at 0.13.1 (2.44s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[165/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.95s)
Fetched https://github.com/kylef/PathKit.git from cache (0.95s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.59s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.59s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/Kitura/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
Creating working copy for https://github.com/kylef/Stencil.git
Working copy of https://github.com/kylef/Stencil.git resolved at 0.13.1
========================================
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": "kitura-stenciltemplateengine",
      "name": "KituraStencil",
      "url": "https://github.com/Kitura/Kitura-StencilTemplateEngine.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Kitura-StencilTemplateEngine",
      "dependencies": [
        {
          "identity": "kitura-templateengine",
          "name": "Kitura-TemplateEngine",
          "url": "https://github.com/Kitura/Kitura-TemplateEngine.git",
          "version": "2.0.200",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Kitura-TemplateEngine",
          "dependencies": [
          ]
        },
        {
          "identity": "stencil",
          "name": "Stencil",
          "url": "https://github.com/kylef/Stencil.git",
          "version": "0.13.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Stencil",
          "dependencies": [
            {
              "identity": "pathkit",
              "name": "PathKit",
              "url": "https://github.com/kylef/PathKit.git",
              "version": "0.9.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
              "dependencies": [
                {
                  "identity": "spectre",
                  "name": "Spectre",
                  "url": "https://github.com/kylef/Spectre.git",
                  "version": "0.9.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.9.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Kitura/Kitura-StencilTemplateEngine.git
[6/553] Fetching kitura-stenciltemplateengine
Fetched https://github.com/Kitura/Kitura-StencilTemplateEngine.git from cache (0.95s)
Fetching https://github.com/kylef/Stencil.git from cache
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git from cache
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.48s)
Fetched https://github.com/kylef/Stencil.git from cache (0.48s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.03s)
Computing version for https://github.com/kylef/Stencil.git
Computed https://github.com/kylef/Stencil.git at 0.13.1 (0.03s)
Fetching https://github.com/kylef/PathKit.git from cache
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/PathKit.git from cache (0.46s)
Fetched https://github.com/kylef/Spectre.git from cache (0.46s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.03s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.03s)
Creating working copy for https://github.com/kylef/Stencil.git
Working copy of https://github.com/kylef/Stencil.git resolved at 0.13.1
Creating working copy for https://github.com/Kitura/Kitura-StencilTemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-StencilTemplateEngine.git resolved at 2.0.0 (1909bd4)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/Kitura/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
warning: '.resolve-product-dependencies': dependency 'kitura-stenciltemplateengine' is not used by any target
Found 2 product dependencies
  - Kitura-TemplateEngine
  - Stencil
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Kitura/Kitura-StencilTemplateEngine.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/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/9] Compiling KituraTemplateEngine TemplateEngine.swift
[7/9] Emitting module KituraTemplateEngine
[8/9] Emitting module PathKit
[9/9] Compiling PathKit PathKit.swift
[10/28] Compiling Stencil Node.swift
[11/28] Compiling Stencil NowTag.swift
[12/30] Compiling Stencil Parser.swift
[13/30] Compiling Stencil Template.swift
[14/30] Compiling Stencil IfTag.swift
[15/30] Compiling Stencil Include.swift
[16/30] Compiling Stencil Inheritence.swift
[17/30] Compiling Stencil KeyPath.swift
[18/30] Compiling Stencil Filters.swift
[19/30] Compiling Stencil ForTag.swift
[20/30] Compiling Stencil Lexer.swift
[21/30] Compiling Stencil Loader.swift
[22/30] Compiling Stencil Extension.swift
[23/30] Compiling Stencil FilterTag.swift
[24/30] Emitting module Stencil
[25/30] Compiling Stencil Errors.swift
[26/30] Compiling Stencil Expression.swift
[27/30] Compiling Stencil Context.swift
[28/30] Compiling Stencil Environment.swift
[29/30] Compiling Stencil Tokenizer.swift
[30/30] Compiling Stencil Variable.swift
[31/32] Emitting module KituraStencil
/Users/admin/builder/spi-builder-workspace/Sources/KituraStencil/KituraStencilTemplateEngine.swift:36:10: warning: associated value 'unableToEncodeValue(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
 34 |
 35 |     /// Thrown when unable to encode the `Encodable` value provided to data.
 36 |     case unableToEncodeValue(value: Encodable)
    |          `- warning: associated value 'unableToEncodeValue(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
 37 |
 38 |     /// Thrown when Stencil fails to render the context with the given template.
Swift.Encodable:1:17: note: protocol 'Encodable' does not conform to the 'Sendable' protocol
1 | public protocol Encodable {
  |                 `- note: protocol 'Encodable' does not conform to the 'Sendable' protocol
2 |     func encode(to encoder: any Encoder) throws
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraStencil/KituraStencilTemplateEngine.swift:39:10: warning: associated value 'unableToRenderContext(context:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 37 |
 38 |     /// Thrown when Stencil fails to render the context with the given template.
 39 |     case unableToRenderContext(context: [String: Any])
    |          `- warning: associated value 'unableToRenderContext(context:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Thrown when a `[Encodable]` or `Set<Encodable>` is passed without a Key.
/Users/admin/builder/spi-builder-workspace/Sources/KituraStencil/KituraStencilTemplateEngine.swift:42:10: warning: associated value 'noKeyProvidedForType(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Thrown when a `[Encodable]` or `Set<Encodable>` is passed without a Key.
 42 |     case noKeyProvidedForType(value: Encodable)
    |          `- warning: associated value 'noKeyProvidedForType(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
 43 | }
 44 |
Swift.Encodable:1:17: note: protocol 'Encodable' does not conform to the 'Sendable' protocol
1 | public protocol Encodable {
  |                 `- note: protocol 'Encodable' does not conform to the 'Sendable' protocol
2 |     func encode(to encoder: any Encoder) throws
3 | }
[32/32] Compiling KituraStencil KituraStencilTemplateEngine.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraStencil/KituraStencilTemplateEngine.swift:36:10: warning: associated value 'unableToEncodeValue(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
 34 |
 35 |     /// Thrown when unable to encode the `Encodable` value provided to data.
 36 |     case unableToEncodeValue(value: Encodable)
    |          `- warning: associated value 'unableToEncodeValue(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
 37 |
 38 |     /// Thrown when Stencil fails to render the context with the given template.
Swift.Encodable:1:17: note: protocol 'Encodable' does not conform to the 'Sendable' protocol
1 | public protocol Encodable {
  |                 `- note: protocol 'Encodable' does not conform to the 'Sendable' protocol
2 |     func encode(to encoder: any Encoder) throws
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraStencil/KituraStencilTemplateEngine.swift:39:10: warning: associated value 'unableToRenderContext(context:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 37 |
 38 |     /// Thrown when Stencil fails to render the context with the given template.
 39 |     case unableToRenderContext(context: [String: Any])
    |          `- warning: associated value 'unableToRenderContext(context:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Thrown when a `[Encodable]` or `Set<Encodable>` is passed without a Key.
/Users/admin/builder/spi-builder-workspace/Sources/KituraStencil/KituraStencilTemplateEngine.swift:42:10: warning: associated value 'noKeyProvidedForType(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
 40 |
 41 |     /// Thrown when a `[Encodable]` or `Set<Encodable>` is passed without a Key.
 42 |     case noKeyProvidedForType(value: Encodable)
    |          `- warning: associated value 'noKeyProvidedForType(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
 43 | }
 44 |
Swift.Encodable:1:17: note: protocol 'Encodable' does not conform to the 'Sendable' protocol
1 | public protocol Encodable {
  |                 `- note: protocol 'Encodable' does not conform to the 'Sendable' protocol
2 |     func encode(to encoder: any Encoder) throws
3 | }
Build complete! (10.59s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "kitura-templateengine",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.200",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/Kitura-TemplateEngine.git"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.0",
            "upper_bound" : "0.14.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Stencil.git"
    }
  ],
  "manifest_display_name" : "KituraStencil",
  "name" : "KituraStencil",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "KituraStencil",
      "targets" : [
        "KituraStencil"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KituraStencil",
      "module_type" : "SwiftTarget",
      "name" : "KituraStencil",
      "path" : "Sources/KituraStencil",
      "product_dependencies" : [
        "KituraTemplateEngine",
        "Stencil"
      ],
      "product_memberships" : [
        "KituraStencil"
      ],
      "sources" : [
        "KituraStencilTemplateEngine.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.