Build Information
Successful build of SlideButton, reference v1.3.0 (5eaceb
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 08:37:24 UTC.
Swift 6 data race errors: 2
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/no-comment/SlideButton.git
Reference: v1.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/no-comment/SlideButton
* tag v1.3.0 -> FETCH_HEAD
HEAD is now at 5eacebb Fixes RTL support (#5)
Cloned https://github.com/no-comment/SlideButton.git
Revision (git rev-parse @):
5eacebba4d7deeb693592bc9a62ab2d2181e133b
SUCCESS checkout https://github.com/no-comment/SlideButton.git at v1.3.0
Fetching https://github.com/nicklockwood/SwiftFormat
[1/45778] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (72.94s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.52.8 (3.25s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.52.8
========================================
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": "slidebutton",
"name": "SlideButton",
"url": "https://github.com/no-comment/SlideButton.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SlideButton",
"dependencies": [
]
}
]
}
Fetching https://github.com/no-comment/SlideButton.git
[1/228] Fetching slidebutton
Fetched https://github.com/no-comment/SlideButton.git from cache (0.68s)
Creating working copy for https://github.com/no-comment/SlideButton.git
Working copy of https://github.com/no-comment/SlideButton.git resolved at v1.3.0 (5eacebb)
warning: '.resolve-product-dependencies': dependency 'slidebutton' 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/no-comment/SlideButton.git
{
"dependencies" : [
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.50.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "SlideButton",
"name" : "SlideButton",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SlideButton",
"targets" : [
"SlideButton"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SlideButton",
"module_type" : "SwiftTarget",
"name" : "SlideButton",
"path" : "Sources/SlideButton",
"product_memberships" : [
"SlideButton"
],
"sources" : [
"ShimmerEffect.swift",
"SlideButton.swift",
"SlideButtonStyling.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
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
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/7] Compiling SlideButton ShimmerEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/SlideButton/ShimmerEffect.swift:26:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
24 | var phase: CGFloat = 0
25 |
26 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 | get { phase }
28 | set { phase = newValue }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
[5/7] Compiling SlideButton SlideButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/SlideButton/SlideButtonStyling.swift:78:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SlideButtonStyling' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A struct that defines the styling options for a `SlideButton`.
9 | public struct SlideButtonStyling {
| `- note: consider making struct 'SlideButtonStyling' conform to the 'Sendable' protocol
10 | /// Initializes a new `Styling` instance with the given options.
11 | /// - Parameters:
:
76 | var textShimmers: Bool
77 |
78 | public static let `default`: Self = .init()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SlideButtonStyling' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
79 | }
80 |
[6/7] Compiling SlideButton SlideButtonStyling.swift
/Users/admin/builder/spi-builder-workspace/Sources/SlideButton/SlideButtonStyling.swift:78:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SlideButtonStyling' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A struct that defines the styling options for a `SlideButton`.
9 | public struct SlideButtonStyling {
| `- note: consider making struct 'SlideButtonStyling' conform to the 'Sendable' protocol
10 | /// Initializes a new `Styling` instance with the given options.
11 | /// - Parameters:
:
76 | var textShimmers: Bool
77 |
78 | public static let `default`: Self = .init()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SlideButtonStyling' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
79 | }
80 |
[7/7] Emitting module SlideButton
/Users/admin/builder/spi-builder-workspace/Sources/SlideButton/ShimmerEffect.swift:26:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
24 | var phase: CGFloat = 0
25 |
26 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 | get { phase }
28 | set { phase = newValue }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SlideButton/SlideButtonStyling.swift:78:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SlideButtonStyling' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A struct that defines the styling options for a `SlideButton`.
9 | public struct SlideButtonStyling {
| `- note: consider making struct 'SlideButtonStyling' conform to the 'Sendable' protocol
10 | /// Initializes a new `Styling` instance with the given options.
11 | /// - Parameters:
:
76 | var textShimmers: Bool
77 |
78 | public static let `default`: Self = .init()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SlideButtonStyling' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
79 | }
80 |
Build complete! (15.00s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.50.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "SlideButton",
"name" : "SlideButton",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SlideButton",
"targets" : [
"SlideButton"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SlideButton",
"module_type" : "SwiftTarget",
"name" : "SlideButton",
"path" : "Sources/SlideButton",
"product_memberships" : [
"SlideButton"
],
"sources" : [
"ShimmerEffect.swift",
"SlideButton.swift",
"SlideButtonStyling.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.