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 develop (e06544), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 01:40:54 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: 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 e065448 Push value to context for non-list sections
Cloned https://github.com/AlwaysRightInstitute/mustache.git
Revision (git rev-parse @):
e0654482a34a5610724a0e5451507c04712adcff
SUCCESS checkout https://github.com/AlwaysRightInstitute/mustache.git at develop
========================================
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.82s)
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at develop (e065448)
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 MustacheRendering.swift
[5/12] Compiling Mustache MustacheParser.swift
[6/12] Compiling Mustache MustacheNode.swift
[7/12] Compiling Mustache MustacheRenderingContext.swift
[8/12] Compiling Mustache Helpers.swift
[9/12] Compiling Mustache Mustachable.swift
[10/12] Emitting module Mustache
[11/12] Compiling Mustache SimpleKVC.swift
[12/12] Compiling Mustache HTMLEscape.swift
[13/18] Compiling AttributedMustache ReExports.swift
[14/18] Emitting module AttributedMustache
[15/18] Compiling AttributedMustache AttributedMustacheRenderingContext.swift
[16/18] Compiling AttributedMustache AttributedMustacheNode.swift
[17/18] Compiling AttributedMustache AttributedMustacheParser.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! (11.67s)
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.