The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SagaStencilRenderer, reference main (3a5b42), with Swift 6.0 for macOS (SPM) on 6 Feb 2025 21:12:32 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
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 3a5b423 docs: Update example app to use the new syntax
Cloned https://github.com/loopwerk/SagaStencilRenderer.git
Revision (git rev-parse @):
3a5b423a01cc0e37f90e2bc221717c659ff909fc
SUCCESS checkout https://github.com/loopwerk/SagaStencilRenderer.git at main
Fetching https://github.com/stencilproject/Stencil
Fetching https://github.com/loopwerk/Saga
[1/2567] Fetching saga
[130/7758] Fetching saga, stencil
Fetched https://github.com/loopwerk/Saga from cache (1.17s)
Fetched https://github.com/stencilproject/Stencil from cache (1.17s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.15.1 (0.52s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[165/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.97s)
Fetched https://github.com/kylef/Spectre.git from cache (0.97s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.52s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.22s)
Computing version for https://github.com/loopwerk/Saga
Computed https://github.com/loopwerk/Saga at 1.5.0 (0.51s)
Fetching https://github.com/JohnSundell/Codextended.git
[2/181] Fetching codextended
Fetched https://github.com/JohnSundell/Codextended.git from cache (0.81s)
Computing version for https://github.com/JohnSundell/Codextended.git
Computed https://github.com/JohnSundell/Codextended.git at 0.3.0 (0.52s)
Creating working copy for https://github.com/loopwerk/Saga
Working copy of https://github.com/loopwerk/Saga resolved at 1.5.0
Creating working copy for https://github.com/JohnSundell/Codextended.git
Working copy of https://github.com/JohnSundell/Codextended.git resolved at 0.3.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
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/stencilproject/Stencil
Working copy of https://github.com/stencilproject/Stencil resolved at 0.15.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": "1.5.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": "codextended",
              "name": "Codextended",
              "url": "https://github.com/JohnSundell/Codextended.git",
              "version": "0.3.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Codextended",
              "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/101] Fetching sagastencilrenderer
Fetched https://github.com/loopwerk/SagaStencilRenderer.git from cache (1.01s)
Fetching https://github.com/stencilproject/Stencil from cache
Fetching https://github.com/loopwerk/Saga from cache
Fetched https://github.com/stencilproject/Stencil from cache (0.53s)
Fetched https://github.com/loopwerk/Saga from cache (0.53s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.15.1 (0.02s)
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.49s)
Fetched https://github.com/kylef/PathKit.git from cache (0.49s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.03s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.02s)
Computing version for https://github.com/loopwerk/Saga
Computed https://github.com/loopwerk/Saga at 1.5.0 (0.02s)
Fetching https://github.com/JohnSundell/Codextended.git from cache
Fetched https://github.com/JohnSundell/Codextended.git from cache (0.49s)
Computing version for https://github.com/JohnSundell/Codextended.git
Computed https://github.com/JohnSundell/Codextended.git at 0.3.0 (0.02s)
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 main (3a5b423)
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 1.5.0
Creating working copy for https://github.com/JohnSundell/Codextended.git
Working copy of https://github.com/JohnSundell/Codextended.git resolved at 0.3.0
Creating working copy for https://github.com/stencilproject/Stencil
Working copy of https://github.com/stencilproject/Stencil resolved at 0.15.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.0
Building package at path:  $PWD
https://github.com/loopwerk/SagaStencilRenderer.git
https://github.com/loopwerk/SagaStencilRenderer.git
{
  "dependencies" : [
    {
      "identity" : "saga",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.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.2.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/6] Write sources
[5/6] Write swift-version-5BDAB9E9C0126B9D.txt
[7/10] Emitting module Codextended
[8/10] Compiling Codextended Codextended.swift
[9/10] Compiling PathKit PathKit.swift
[10/10] Emitting module PathKit
[11/45] Compiling Stencil Inheritance.swift
[12/45] Compiling Stencil KeyPath.swift
[13/47] Compiling Stencil IfTag.swift
[14/47] Compiling Stencil Include.swift
[15/47] Compiling Stencil Template.swift
[16/47] Compiling Stencil Tokenizer.swift
[17/47] Compiling Stencil NowTag.swift
[18/47] Compiling Stencil Parser.swift
[19/47] Compiling Stencil LazyValueWrapper.swift
[20/47] Compiling Stencil Lexer.swift
[21/47] Compiling Stencil Loader.swift
[22/47] Compiling Stencil Node.swift
[23/47] Emitting module Stencil
[24/47] Compiling Saga Path+Extensions.swift
[25/47] Compiling Saga Item.swift
[26/47] Compiling Saga ItemWriteMode.swift
[27/47] Compiling Saga FileContainer.swift
[28/47] Compiling Saga FileIO.swift
[29/47] Compiling Saga MetadataDecoder.swift
[30/47] Compiling Stencil FilterTag.swift
[31/47] Compiling Stencil Filters.swift
[32/47] Compiling Stencil ForTag.swift
[33/47] Compiling Stencil TrimBehaviour.swift
[34/47] Compiling Stencil Variable.swift
[35/47] Compiling Saga String+Slugify.swift
[36/47] Compiling Saga Saga.swift
[37/47] Compiling Saga RenderingContexts.swift
[38/48] Compiling Saga Reader.swift
[39/48] Compiling Saga Reader+Decoder.swift
[40/48] Compiling Saga Writer.swift
[41/48] Compiling Saga ProcessingStep.swift
[44/48] Emitting module Saga
[49/50] 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 Saga
 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: annotate 'defaultStencilEnvironment' with '@MainActor' if property should only be accessed from the main actor
   |            `- 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) {
[50/50] 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 Saga
 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: annotate 'defaultStencilEnvironment' with '@MainActor' if property should only be accessed from the main actor
   |            `- 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! (10.94s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "saga",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.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.