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 main (098db0), with Swift 6.1 for macOS (SPM) on 24 Jun 2025 07:50:53 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loopwerk/SagaStencilRenderer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
Fetching https://github.com/loopwerk/Saga
Fetching https://github.com/stencilproject/Stencil
[1/3020] Fetching saga
[92/8313] Fetching saga, stencil
Fetched https://github.com/stencilproject/Stencil from cache (1.52s)
Fetched https://github.com/loopwerk/Saga from cache (1.52s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.15.1 (2.11s)
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.84s)
Fetched https://github.com/kylef/PathKit.git from cache (0.84s)
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.49s)
Computing version for https://github.com/loopwerk/Saga
Computed https://github.com/loopwerk/Saga at 2.4.0 (0.59s)
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/loopwerk/Saga
Working copy of https://github.com/loopwerk/Saga resolved at 2.4.0
========================================
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.97s)
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.51s)
Fetched https://github.com/loopwerk/Saga from cache (0.51s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.15.1 (0.57s)
Fetching https://github.com/kylef/PathKit.git from cache
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.42s)
Fetched https://github.com/kylef/PathKit.git from cache (0.42s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.49s)
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/stencilproject/Stencil
Working copy of https://github.com/stencilproject/Stencil resolved at 0.15.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.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/loopwerk/SagaStencilRenderer.git
Working copy of https://github.com/loopwerk/SagaStencilRenderer.git resolved at main (098db0f)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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] Compiling PathKit PathKit.swift
[7/7] Emitting module PathKit
[8/43] Emitting module Stencil
[9/45] Compiling Saga Writer.swift
[10/45] Compiling Saga String+Slugify.swift
[11/45] Compiling Saga Reader.swift
[12/46] Compiling Stencil Loader.swift
[13/46] Compiling Stencil Node.swift
[14/46] Compiling Stencil Inheritance.swift
[15/46] Compiling Stencil KeyPath.swift
[16/46] Compiling Stencil IfTag.swift
[17/46] Compiling Stencil Include.swift
[18/46] Compiling Stencil Template.swift
[19/46] Compiling Stencil Tokenizer.swift
[20/46] Compiling Stencil LazyValueWrapper.swift
[21/46] Compiling Stencil Lexer.swift
[22/46] Compiling Saga RenderingContexts.swift
[23/46] Compiling Saga Saga.swift
[24/46] Compiling Stencil Parser.swift
[25/46] Compiling Stencil Errors.swift
[26/46] Compiling Stencil Environment.swift
[27/46] Compiling Stencil NowTag.swift
[28/46] Compiling Stencil Context.swift
[29/46] Compiling Stencil DynamicMemberLookup.swift
[30/46] Compiling Stencil Expression.swift
[31/46] Compiling Stencil Extension.swift
[32/46] Emitting module Saga
[33/46] Compiling Saga utils.swift
[42/46] Compiling Stencil TrimBehaviour.swift
[43/46] Compiling Stencil Variable.swift
[44/46] Compiling Stencil FilterTag.swift
[45/46] Compiling Stencil Filters.swift
[46/46] Compiling Stencil ForTag.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.43s)
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.