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, reference 1.0.2 (83db37), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 01:40:46 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AlwaysRightInstitute/mustache.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AlwaysRightInstitute/mustache
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at 83db37d Merge branch 'develop'
Cloned https://github.com/AlwaysRightInstitute/mustache.git
Revision (git rev-parse @):
83db37d14af02f42d1dbca535f0966e0d0f48c64
SUCCESS checkout https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2
========================================
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": "mustache",
      "name": "Mustache",
      "url": "https://github.com/AlwaysRightInstitute/mustache.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mustache",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/559] Fetching mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.84s)
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.2 (83db37d)
warning: '.resolve-product-dependencies': dependency 'mustache' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/AlwaysRightInstitute/mustache.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/12] Compiling Mustache MustacheRenderingContext.swift
[5/12] Compiling Mustache MustacheRendering.swift
[6/12] Compiling Mustache MustacheNode.swift
[7/12] Compiling Mustache Mustachable.swift
[8/12] Compiling Mustache MustacheParser.swift
[9/12] Compiling Mustache SimpleKVC.swift
[10/12] Emitting module Mustache
[11/12] Compiling Mustache Helpers.swift
[12/12] Compiling Mustache HTMLEscape.swift
[13/18] Compiling AttributedMustache ReExports.swift
[14/18] Compiling AttributedMustache AttributedMustacheRenderingContext.swift
[15/18] Compiling AttributedMustache AttributedMustacheParser.swift
[16/18] Emitting module AttributedMustache
[17/18] Compiling AttributedMustache AttributedMustacheNode.swift
[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! (12.32s)
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.