Build Information
Successful build of Percentage, reference v1.2.0 (fb281e
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 00:59:06 UTC.
Swift 6 data race errors: 1
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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sindresorhus/Percentage.git
Reference: v1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sindresorhus/Percentage
* tag v1.2.0 -> FETCH_HEAD
HEAD is now at fb281e5 1.2.0
Cloned https://github.com/sindresorhus/Percentage.git
Revision (git rev-parse @):
fb281e5d511c848b719285f0c7b44fd015d88ecd
SUCCESS checkout https://github.com/sindresorhus/Percentage.git at v1.2.0
========================================
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": "percentage",
"name": "Percentage",
"url": "https://github.com/sindresorhus/Percentage.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Percentage",
"dependencies": [
]
}
]
}
Fetching https://github.com/sindresorhus/Percentage.git
[1/221] Fetching percentage
Fetched https://github.com/sindresorhus/Percentage.git from cache (0.66s)
Creating working copy for https://github.com/sindresorhus/Percentage.git
Working copy of https://github.com/sindresorhus/Percentage.git resolved at v1.2.0 (fb281e5)
warning: '.resolve-product-dependencies': dependency 'percentage' 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/sindresorhus/Percentage.git
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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Emitting module Percentage
/Users/admin/builder/spi-builder-workspace/Sources/Percentage/Percentage.swift:192:22: warning: static property 'formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
190 | extension Percentage: CustomStringConvertible {
191 | // Note: It's a `var` for testing.
192 | internal static var formatter: NumberFormatter = {
| |- warning: static property 'formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | let formatter = NumberFormatter()
194 | formatter.numberStyle = .percent
[4/4] Compiling Percentage Percentage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Percentage/Percentage.swift:192:22: warning: static property 'formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
190 | extension Percentage: CustomStringConvertible {
191 | // Note: It's a `var` for testing.
192 | internal static var formatter: NumberFormatter = {
| |- warning: static property 'formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | let formatter = NumberFormatter()
194 | formatter.numberStyle = .percent
Build complete! (5.73s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Percentage",
"name" : "Percentage",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Percentage",
"targets" : [
"Percentage"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PercentageTests",
"module_type" : "SwiftTarget",
"name" : "PercentageTests",
"path" : "Tests/PercentageTests",
"sources" : [
"PercentageTests.swift"
],
"target_dependencies" : [
"Percentage"
],
"type" : "test"
},
{
"c99name" : "Percentage",
"module_type" : "SwiftTarget",
"name" : "Percentage",
"path" : "Sources/Percentage",
"product_memberships" : [
"Percentage"
],
"sources" : [
"Percentage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.