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 swift-mustache, reference 2.0.0 (9de71f), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 16:48:42 UTC.

Swift 6 data race errors: 3

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.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hummingbird-project/swift-mustache.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hummingbird-project/swift-mustache
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 9de71fc Update docs again
Cloned https://github.com/hummingbird-project/swift-mustache.git
Revision (git rev-parse @):
9de71fc4d10f0efc0ac758d0acf14e75d39b47b4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hummingbird-project/swift-mustache.git at 2.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hummingbird-project/swift-mustache.git
https://github.com/hummingbird-project/swift-mustache.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-mustache",
  "name" : "swift-mustache",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Mustache",
      "targets" : [
        "Mustache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MustacheTests",
      "module_type" : "SwiftTarget",
      "name" : "MustacheTests",
      "path" : "Tests/MustacheTests",
      "sources" : [
        "ErrorTests.swift",
        "LibraryTests.swift",
        "PartialTests.swift",
        "SpecTests.swift",
        "TemplateParserTests.swift",
        "TemplateRendererTests.swift",
        "TransformTests.swift"
      ],
      "target_dependencies" : [
        "Mustache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Mustache",
      "module_type" : "SwiftTarget",
      "name" : "Mustache",
      "path" : "Sources/Mustache",
      "product_memberships" : [
        "Mustache"
      ],
      "sources" : [
        "ContentType.swift",
        "Context.swift",
        "CustomRenderable.swift",
        "Deprecations.swift",
        "Lambda.swift",
        "Library+FileSystem.swift",
        "Library.swift",
        "Mirror.swift",
        "Parent.swift",
        "Parser.swift",
        "Sequence.swift",
        "SequenceContext.swift",
        "String.swift",
        "Template+FileSystem.swift",
        "Template+Parser.swift",
        "Template+Render.swift",
        "Template.swift",
        "Transform.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/20] Compiling Mustache Template.swift
[4/21] Compiling Mustache Transform.swift
[5/21] Compiling Mustache Template+Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Template+Parser.swift:18:20: warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
 16 |     /// Error return by `MustacheTemplate.parse`. Includes information about where error occurred
 17 |     public struct ParserError: Swift.Error {
 18 |         public let context: MustacheParserContext
    |                    `- warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
 19 |         public let error: Swift.Error
 20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Parser.swift:300:15: note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
298 |
299 | /// context used in parser error
300 | public struct MustacheParserContext {
    |               `- note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
301 |     public let line: String
302 |     public let lineNumber: Int
[6/21] Compiling Mustache Template+Render.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Template+Parser.swift:18:20: warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
 16 |     /// Error return by `MustacheTemplate.parse`. Includes information about where error occurred
 17 |     public struct ParserError: Swift.Error {
 18 |         public let context: MustacheParserContext
    |                    `- warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
 19 |         public let error: Swift.Error
 20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Parser.swift:300:15: note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
298 |
299 | /// context used in parser error
300 | public struct MustacheParserContext {
    |               `- note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
301 |     public let line: String
302 |     public let lineNumber: Int
[7/21] Compiling Mustache Sequence.swift
[8/21] Compiling Mustache SequenceContext.swift
[9/21] Compiling Mustache String.swift
[10/21] Compiling Mustache Template+FileSystem.swift
[11/21] Compiling Mustache Lambda.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Library+FileSystem.swift:28:40: warning: instance method 'makeIterator' is unavailable from asynchronous contexts; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
26 |         guard let enumerator = fs.enumerator(atPath: directory) else { return [:] }
27 |         var templates: [String: MustacheTemplate] = [:]
28 |         for case let path as String in enumerator {
   |                                        `- warning: instance method 'makeIterator' is unavailable from asynchronous contexts; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
29 |             guard path.hasSuffix(extWithDot) else { continue }
30 |             do {
[12/21] Compiling Mustache Library+FileSystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Library+FileSystem.swift:28:40: warning: instance method 'makeIterator' is unavailable from asynchronous contexts; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
26 |         guard let enumerator = fs.enumerator(atPath: directory) else { return [:] }
27 |         var templates: [String: MustacheTemplate] = [:]
28 |         for case let path as String in enumerator {
   |                                        `- warning: instance method 'makeIterator' is unavailable from asynchronous contexts; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
29 |             guard path.hasSuffix(extWithDot) else { continue }
30 |             do {
[13/21] Compiling Mustache CustomRenderable.swift
[14/21] Compiling Mustache Deprecations.swift
[15/21] Compiling Mustache ContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/ContentType.swift:53:16: warning: static property 'types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |     }
52 |
53 |     static var types: [String: MustacheContentType] = [
   |                |- warning: static property 'types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'types' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'types' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |         "HTML": HTMLContentType(),
55 |         "TEXT": TextContentType(),
[16/21] Compiling Mustache Context.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/ContentType.swift:53:16: warning: static property 'types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |     }
52 |
53 |     static var types: [String: MustacheContentType] = [
   |                |- warning: static property 'types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'types' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'types' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |         "HTML": HTMLContentType(),
55 |         "TEXT": TextContentType(),
[17/21] Compiling Mustache Library.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Library.swift:99:20: warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
 97 |         public let filename: String
 98 |         /// Context (line, linenumber and column number)
 99 |         public let context: MustacheParserContext
    |                    `- warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
100 |         /// Actual error that occurred
101 |         public let error: Error
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Parser.swift:300:15: note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
298 |
299 | /// context used in parser error
300 | public struct MustacheParserContext {
    |               `- note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
301 |     public let line: String
302 |     public let lineNumber: Int
[18/21] Compiling Mustache Mirror.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Library.swift:99:20: warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
 97 |         public let filename: String
 98 |         /// Context (line, linenumber and column number)
 99 |         public let context: MustacheParserContext
    |                    `- warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
100 |         /// Actual error that occurred
101 |         public let error: Error
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Parser.swift:300:15: note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
298 |
299 | /// context used in parser error
300 | public struct MustacheParserContext {
    |               `- note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
301 |     public let line: String
302 |     public let lineNumber: Int
[19/21] Compiling Mustache Parent.swift
[20/21] Compiling Mustache Parser.swift
[21/21] Emitting module Mustache
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/ContentType.swift:53:16: warning: static property 'types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |     }
52 |
53 |     static var types: [String: MustacheContentType] = [
   |                |- warning: static property 'types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'types' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'types' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |         "HTML": HTMLContentType(),
55 |         "TEXT": TextContentType(),
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Library.swift:99:20: warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
 97 |         public let filename: String
 98 |         /// Context (line, linenumber and column number)
 99 |         public let context: MustacheParserContext
    |                    `- warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
100 |         /// Actual error that occurred
101 |         public let error: Error
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Parser.swift:300:15: note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
298 |
299 | /// context used in parser error
300 | public struct MustacheParserContext {
    |               `- note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
301 |     public let line: String
302 |     public let lineNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Template+Parser.swift:18:20: warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
 16 |     /// Error return by `MustacheTemplate.parse`. Includes information about where error occurred
 17 |     public struct ParserError: Swift.Error {
 18 |         public let context: MustacheParserContext
    |                    `- warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
 19 |         public let error: Swift.Error
 20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Parser.swift:300:15: note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
298 |
299 | /// context used in parser error
300 | public struct MustacheParserContext {
    |               `- note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
301 |     public let line: String
302 |     public let lineNumber: Int
Build complete! (5.01s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-mustache",
  "name" : "swift-mustache",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Mustache",
      "targets" : [
        "Mustache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MustacheTests",
      "module_type" : "SwiftTarget",
      "name" : "MustacheTests",
      "path" : "Tests/MustacheTests",
      "sources" : [
        "ErrorTests.swift",
        "LibraryTests.swift",
        "PartialTests.swift",
        "SpecTests.swift",
        "TemplateParserTests.swift",
        "TemplateRendererTests.swift",
        "TransformTests.swift"
      ],
      "target_dependencies" : [
        "Mustache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Mustache",
      "module_type" : "SwiftTarget",
      "name" : "Mustache",
      "path" : "Sources/Mustache",
      "product_memberships" : [
        "Mustache"
      ],
      "sources" : [
        "ContentType.swift",
        "Context.swift",
        "CustomRenderable.swift",
        "Deprecations.swift",
        "Lambda.swift",
        "Library+FileSystem.swift",
        "Library.swift",
        "Mirror.swift",
        "Parent.swift",
        "Parser.swift",
        "Sequence.swift",
        "SequenceContext.swift",
        "String.swift",
        "Template+FileSystem.swift",
        "Template+Parser.swift",
        "Template+Render.swift",
        "Template.swift",
        "Transform.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.