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.1 for Linux on 30 Apr 2025 09:56:34 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwerk/SagaStencilRenderer.git
Reference: main
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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/loopwerk/SagaStencilRenderer.git
https://github.com/loopwerk/SagaStencilRenderer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/loopwerk/Saga
Fetching https://github.com/stencilproject/Stencil
[1/2901] Fetching saga
[1191/8194] Fetching saga, stencil
Fetched https://github.com/stencilproject/Stencil from cache (0.68s)
Fetched https://github.com/loopwerk/Saga from cache (0.68s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.15.1 (1.73s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[1022/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.45s)
Fetched https://github.com/kylef/Spectre.git from cache (0.45s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.50s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.95s)
Computing version for https://github.com/loopwerk/Saga
Computed https://github.com/loopwerk/Saga at 1.7.1 (1.01s)
Fetching https://github.com/JohnSundell/Codextended.git
[1/181] Fetching codextended
Fetched https://github.com/JohnSundell/Codextended.git from cache (0.30s)
Computing version for https://github.com/JohnSundell/Codextended.git
Computed https://github.com/JohnSundell/Codextended.git at 0.3.0 (1.34s)
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/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 1.7.1
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
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/10] Emitting module Codextended
[8/10] Compiling Codextended Codextended.swift
[10/11] Compiling PathKit PathKit.swift
[11/11] Emitting module PathKit
[13/48] Compiling Stencil Extension.swift
[14/48] Compiling Stencil FilterTag.swift
[15/49] Compiling Stencil IfTag.swift
[16/49] Compiling Stencil Include.swift
[17/49] Compiling Stencil DynamicMemberLookup.swift
[18/49] Compiling Stencil Environment.swift
[19/49] Emitting module Stencil
[20/51] Compiling Saga utils.swift
[21/51] Compiling Stencil Filters.swift
[22/51] Compiling Stencil ForTag.swift
[23/51] Compiling Saga Writer.swift
[26/51] Compiling Stencil Inheritance.swift
[27/51] Compiling Stencil Loader.swift
[28/51] Compiling Stencil Node.swift
[29/51] Compiling Stencil NowTag.swift
[30/51] Compiling Stencil KeyPath.swift
[31/51] Compiling Stencil LazyValueWrapper.swift
[32/51] Compiling Stencil Lexer.swift
[33/51] Compiling Stencil Parser.swift
[34/51] Compiling Stencil Template.swift
[35/51] Compiling Stencil Tokenizer.swift
[36/51] Emitting module Saga
[37/51] Compiling Stencil Errors.swift
[38/51] Compiling Stencil Expression.swift
[40/51] Compiling Stencil Context.swift
[41/52] Compiling Stencil TrimBehaviour.swift
[42/52] Compiling Stencil Variable.swift
[54/55] Emitting module SagaStencilRenderer
/host/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: 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) {
[55/55] Compiling SagaStencilRenderer SagaStencilRenderer.swift
/host/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: 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! (33.62s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.