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 SagaStencilRenderer, reference 1.0.0 (098db0), with Swift 6.1 for macOS (SPM) on 24 Jun 2025 07:51:57 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwerk/SagaStencilRenderer.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loopwerk/SagaStencilRenderer
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 098db0f Migrate to Saga 2.0.0
Cloned https://github.com/loopwerk/SagaStencilRenderer.git
Revision (git rev-parse @):
098db0f8701816eb0a7835102b53a2acdaa6ad9a
SUCCESS checkout https://github.com/loopwerk/SagaStencilRenderer.git at 1.0.0
Fetching https://github.com/loopwerk/Saga
Fetching https://github.com/stencilproject/Stencil
[1/3020] Fetching saga
[62/8313] Fetching saga, stencil
Fetched https://github.com/loopwerk/Saga from cache (1.06s)
Fetched https://github.com/stencilproject/Stencil from cache (1.06s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.15.1 (1.64s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[100/2432] Fetching pathkit, spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.88s)
Fetched https://github.com/kylef/PathKit.git from cache (0.88s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.46s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.40s)
Computing version for https://github.com/loopwerk/Saga
Computed https://github.com/loopwerk/Saga at 2.4.0 (0.54s)
Creating working copy for https://github.com/stencilproject/Stencil
Working copy of https://github.com/stencilproject/Stencil resolved at 0.15.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/loopwerk/Saga
Working copy of https://github.com/loopwerk/Saga resolved at 2.4.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.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": "sagastencilrenderer",
      "name": "SagaStencilRenderer",
      "url": "https://github.com/loopwerk/SagaStencilRenderer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SagaStencilRenderer",
      "dependencies": [
        {
          "identity": "saga",
          "name": "Saga",
          "url": "https://github.com/loopwerk/Saga",
          "version": "2.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Saga",
          "dependencies": [
            {
              "identity": "pathkit",
              "name": "PathKit",
              "url": "https://github.com/kylef/PathKit.git",
              "version": "1.0.1",
              "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.10.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "stencil",
          "name": "Stencil",
          "url": "https://github.com/stencilproject/Stencil",
          "version": "0.15.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": "1.0.1",
              "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.10.1",
                  "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.10.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/loopwerk/SagaStencilRenderer.git
[1/114] Fetching sagastencilrenderer
Fetched https://github.com/loopwerk/SagaStencilRenderer.git from cache (0.96s)
Fetching https://github.com/loopwerk/Saga from cache
Fetching https://github.com/stencilproject/Stencil from cache
Fetched https://github.com/stencilproject/Stencil from cache (0.57s)
Fetched https://github.com/loopwerk/Saga from cache (0.57s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.15.1 (0.63s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetching https://github.com/kylef/PathKit.git from cache
Fetched https://github.com/kylef/PathKit.git from cache (0.50s)
Fetched https://github.com/kylef/Spectre.git from cache (0.51s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.57s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.03s)
Computing version for https://github.com/loopwerk/Saga
Computed https://github.com/loopwerk/Saga at 2.4.0 (0.03s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/loopwerk/SagaStencilRenderer.git
Working copy of https://github.com/loopwerk/SagaStencilRenderer.git resolved at 1.0.0 (098db0f)
Creating working copy for https://github.com/stencilproject/Stencil
Working copy of https://github.com/stencilproject/Stencil resolved at 0.15.1
Creating working copy for https://github.com/loopwerk/Saga
Working copy of https://github.com/loopwerk/Saga resolved at 2.4.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
warning: '.resolve-product-dependencies': dependency 'sagastencilrenderer' is not used by any target
Found 2 product dependencies
  - Saga
  - Stencil
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/loopwerk/SagaStencilRenderer.git
https://github.com/loopwerk/SagaStencilRenderer.git
{
  "dependencies" : [
    {
      "identity" : "saga",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.3",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/loopwerk/Saga"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.14.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stencilproject/Stencil"
    }
  ],
  "manifest_display_name" : "SagaStencilRenderer",
  "name" : "SagaStencilRenderer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SagaStencilRenderer",
      "targets" : [
        "SagaStencilRenderer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SagaStencilRenderer",
      "module_type" : "SwiftTarget",
      "name" : "SagaStencilRenderer",
      "path" : "Sources/SagaStencilRenderer",
      "product_dependencies" : [
        "Saga",
        "Stencil"
      ],
      "product_memberships" : [
        "SagaStencilRenderer"
      ],
      "sources" : [
        "SagaStencilRenderer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[6/7] Emitting module PathKit
[7/7] Compiling PathKit PathKit.swift
[8/43] Emitting module Stencil
[9/45] Compiling Stencil NowTag.swift
[10/45] Compiling Stencil Parser.swift
[11/45] Compiling Stencil Context.swift
[12/45] Compiling Stencil DynamicMemberLookup.swift
[13/45] Compiling Stencil Environment.swift
[14/45] Compiling Stencil Loader.swift
[15/45] Compiling Stencil Node.swift
[16/45] Compiling Stencil LazyValueWrapper.swift
[17/45] Compiling Stencil Lexer.swift
[18/45] Compiling Stencil IfTag.swift
[19/45] Compiling Stencil Include.swift
[20/45] Compiling Stencil Inheritance.swift
[21/45] Compiling Stencil KeyPath.swift
[22/45] Compiling Saga Reader.swift
[23/45] Compiling Saga String+Slugify.swift
[24/45] Compiling Saga Saga.swift
[27/45] Compiling Stencil Expression.swift
[28/45] Compiling Stencil Extension.swift
[29/45] Compiling Saga RenderingContexts.swift
[31/45] Compiling Stencil Errors.swift
[34/45] Emitting module Saga
[35/45] Compiling Saga Writer.swift
[36/46] Compiling Stencil TrimBehaviour.swift
[37/46] Compiling Stencil Variable.swift
[38/46] Compiling Stencil Template.swift
[39/46] Compiling Stencil Tokenizer.swift
[40/46] Compiling Stencil FilterTag.swift
[41/46] Compiling Stencil Filters.swift
[42/46] Compiling Stencil ForTag.swift
[46/46] Compiling Saga utils.swift
[47/48] Compiling SagaStencilRenderer SagaStencilRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SagaStencilRenderer/SagaStencilRenderer.swift:4:12: warning: var 'defaultStencilEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 | import Stencil
 3 |
 4 | public var defaultStencilEnvironment = Environment()
   |            |- warning: var 'defaultStencilEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaultStencilEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: add '@MainActor' to make var 'defaultStencilEnvironment' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 | public func stencil(_ template: String, environment: Environment? = nil) -> ((RenderingContext) throws -> String) {
[48/48] Emitting module SagaStencilRenderer
/Users/admin/builder/spi-builder-workspace/Sources/SagaStencilRenderer/SagaStencilRenderer.swift:4:12: warning: var 'defaultStencilEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 | import Stencil
 3 |
 4 | public var defaultStencilEnvironment = Environment()
   |            |- warning: var 'defaultStencilEnvironment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaultStencilEnvironment' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: add '@MainActor' to make var 'defaultStencilEnvironment' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 | public func stencil(_ template: String, environment: Environment? = nil) -> ((RenderingContext) throws -> String) {
Build complete! (9.08s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "saga",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.3",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/loopwerk/Saga"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.14.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stencilproject/Stencil"
    }
  ],
  "manifest_display_name" : "SagaStencilRenderer",
  "name" : "SagaStencilRenderer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SagaStencilRenderer",
      "targets" : [
        "SagaStencilRenderer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SagaStencilRenderer",
      "module_type" : "SwiftTarget",
      "name" : "SagaStencilRenderer",
      "path" : "Sources/SagaStencilRenderer",
      "product_dependencies" : [
        "Saga",
        "Stencil"
      ],
      "product_memberships" : [
        "SagaStencilRenderer"
      ],
      "sources" : [
        "SagaStencilRenderer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.