This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Mustache with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AlwaysRightInstitute/mustache.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AlwaysRightInstitute/mustache
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at c3f1b43 Xcode upgrade version
Cloned https://github.com/AlwaysRightInstitute/mustache.git
Revision (git rev-parse @):
c3f1b43e1ac90c316b96dff9b2deab514c3bdb1e
SUCCESS checkout https://github.com/AlwaysRightInstitute/mustache.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/AlwaysRightInstitute/mustache.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/12] Compiling Mustache MustacheRendering.swift
[5/12] Compiling Mustache MustacheRenderingContext.swift
[6/12] Compiling Mustache MustacheParser.swift
[7/12] Compiling Mustache Mustachable.swift
[8/12] Compiling Mustache MustacheNode.swift
[9/12] Compiling Mustache SimpleKVC.swift
[10/12] Compiling Mustache Helpers.swift
[11/12] Emitting module Mustache
[12/12] Compiling Mustache HTMLEscape.swift
[13/18] Compiling AttributedMustache ReExports.swift
[14/18] Compiling AttributedMustache AttributedMustacheRenderingContext.swift
[15/18] Compiling AttributedMustache AttributedMustacheNode.swift
[16/18] Emitting module AttributedMustache
/Users/admin/builder/spi-builder-workspace/Sources/AttributedMustache/AttributedMustacheParser.swift:14:1: warning: extension declares a conformance of imported type 'NSAttributedString' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 12 | import protocol Mustache.KeyValueCodingType
 13 |
 14 | extension NSAttributedString: KeyValueCodingType {}
    | |- warning: extension declares a conformance of imported type 'NSAttributedString' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 15 |
 16 | public struct AttributedMustacheParser {
[17/18] Compiling AttributedMustache AttributedMustacheParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/AttributedMustache/AttributedMustacheParser.swift:14:1: warning: extension declares a conformance of imported type 'NSAttributedString' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 12 | import protocol Mustache.KeyValueCodingType
 13 |
 14 | extension NSAttributedString: KeyValueCodingType {}
    | |- warning: extension declares a conformance of imported type 'NSAttributedString' to imported protocol 'KeyValueCodingType'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 15 |
 16 | public struct AttributedMustacheParser {
[18/18] Compiling AttributedMustache AttributedMustacheRendering.swift
/Users/admin/builder/spi-builder-workspace/Sources/AttributedMustache/AttributedMustacheRendering.swift:88:30: warning: call to main actor-isolated initializer 'init(imageCell:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 86 |                     attachment.image = image
 87 |                   }
 88 |                   let cell = NSTextAttachmentCell(imageCell: image)
    |                              `- warning: call to main actor-isolated initializer 'init(imageCell:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 89 |                   attachment.attachmentCell = cell
 90 |                 #else
AppKit.NSTextAttachmentCell:4:23: note: calls to initializer 'init(imageCell:)' from outside of its actor context are implicitly asynchronous
 2 |     public init()
 3 |     public init(textCell string: String)
 4 |     @MainActor public init(imageCell image: NSImage?)
   |                       `- note: calls to initializer 'init(imageCell:)' from outside of its actor context are implicitly asynchronous
 5 |     public init(coder: NSCoder)
 6 |     @available(macOS 10.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/AttributedMustache/AttributedMustacheRendering.swift:88:30: warning: sending 'image.some' risks causing data races; this is an error in the Swift 6 language mode
 86 |                     attachment.image = image
 87 |                   }
 88 |                   let cell = NSTextAttachmentCell(imageCell: image)
    |                              |- warning: sending 'image.some' risks causing data races; this is an error in the Swift 6 language mode
    |                              `- note: sending task-isolated 'image.some' to main actor-isolated initializer 'init(imageCell:)' risks causing data races between main actor-isolated and task-isolated uses
 89 |                   attachment.attachmentCell = cell
 90 |                 #else
Build complete! (25.69s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Mustache",
  "name" : "Mustache",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Mustache",
      "targets" : [
        "Mustache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AttributedMustache",
      "targets" : [
        "AttributedMustache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MustacheTests",
      "module_type" : "SwiftTarget",
      "name" : "MustacheTests",
      "path" : "Tests/MustacheTests",
      "sources" : [
        "AttributedMustacheTests.swift",
        "MustacheTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Mustache",
        "AttributedMustache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Mustache",
      "module_type" : "SwiftTarget",
      "name" : "Mustache",
      "path" : "Sources/Mustache",
      "product_memberships" : [
        "Mustache",
        "AttributedMustache"
      ],
      "sources" : [
        "HTMLEscape.swift",
        "Helpers.swift",
        "Mustachable.swift",
        "MustacheNode.swift",
        "MustacheParser.swift",
        "MustacheRendering.swift",
        "MustacheRenderingContext.swift",
        "SimpleKVC.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AttributedMustache",
      "module_type" : "SwiftTarget",
      "name" : "AttributedMustache",
      "path" : "Sources/AttributedMustache",
      "product_memberships" : [
        "AttributedMustache"
      ],
      "sources" : [
        "AttributedMustacheNode.swift",
        "AttributedMustacheParser.swift",
        "AttributedMustacheRendering.swift",
        "AttributedMustacheRenderingContext.swift",
        "ReExports.swift"
      ],
      "target_dependencies" : [
        "Mustache"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.