Build Information
Successful build of SwiftCalc, reference main (fb3157
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 07:21:21 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/SwiftCalc.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/schwa/SwiftCalc
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fb31571 Remove code cov to fix buildkite.
Cloned https://github.com/schwa/SwiftCalc.git
Revision (git rev-parse @):
fb31571bf338526f50478897027ac9747b7acaa7
SUCCESS checkout https://github.com/schwa/SwiftCalc.git at main
========================================
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": "swiftcalc",
"name": "SwiftCalc",
"url": "https://github.com/schwa/SwiftCalc.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCalc",
"dependencies": [
]
}
]
}
Fetching https://github.com/schwa/SwiftCalc.git
[1/108] Fetching swiftcalc
Fetched https://github.com/schwa/SwiftCalc.git from cache (0.84s)
Creating working copy for https://github.com/schwa/SwiftCalc.git
Working copy of https://github.com/schwa/SwiftCalc.git resolved at main (fb31571)
warning: '.resolve-product-dependencies': dependency 'swiftcalc' 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/schwa/SwiftCalc.git
{
"dependencies" : [
],
"manifest_display_name" : "SwiftCalc",
"name" : "SwiftCalc",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftCalc",
"targets" : [
"SwiftCalc"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "parser",
"module_type" : "ClangTarget",
"name" : "parser",
"path" : "Sources/parser",
"product_memberships" : [
"SwiftCalc"
],
"sources" : [
"parser.c"
],
"type" : "library"
},
{
"c99name" : "SwiftCalcTests",
"module_type" : "SwiftTarget",
"name" : "SwiftCalcTests",
"path" : "Tests/SwiftCalcTests",
"sources" : [
"SwiftCalcTests.swift"
],
"target_dependencies" : [
"SwiftCalc"
],
"type" : "test"
},
{
"c99name" : "SwiftCalc",
"module_type" : "SwiftTarget",
"name" : "SwiftCalc",
"path" : "Sources/SwiftCalc",
"product_memberships" : [
"SwiftCalc"
],
"sources" : [
"AttributedString.swift",
"Introspection.swift",
"Math.swift",
"SwiftCalc.swift"
],
"target_dependencies" : [
"parser"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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
[1/3] Write swift-version--7754E27361AE5C74.txt
[2/3] Compiling parser parser.c
[4/8] Compiling SwiftCalc Introspection.swift
[5/8] Compiling SwiftCalc Math.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCalc/Math.swift:32:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Function]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | public extension Math {
31 |
32 | static let all = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Function]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
33 | Function("sin") { parameters in
34 | return try .number(Darwin.sin(parameters.doubles.onlyElement))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCalc/SwiftCalc.swift:44:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
42 | }
43 |
44 | public struct Function: Identifiable {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
45 | public let id: String
46 | public let closure: ([Value]) throws -> Value
[6/8] Compiling SwiftCalc SwiftCalc.swift
[7/8] Emitting module SwiftCalc
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCalc/Math.swift:32:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Function]' may have shared mutable state; this is an error in the Swift 6 language mode
30 | public extension Math {
31 |
32 | static let all = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Function]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
33 | Function("sin") { parameters in
34 | return try .number(Darwin.sin(parameters.doubles.onlyElement))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCalc/SwiftCalc.swift:44:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
42 | }
43 |
44 | public struct Function: Identifiable {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
45 | public let id: String
46 | public let closure: ([Value]) throws -> Value
[8/8] Compiling SwiftCalc AttributedString.swift
Build complete! (12.21s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftCalc",
"name" : "SwiftCalc",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftCalc",
"targets" : [
"SwiftCalc"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "parser",
"module_type" : "ClangTarget",
"name" : "parser",
"path" : "Sources/parser",
"product_memberships" : [
"SwiftCalc"
],
"sources" : [
"parser.c"
],
"type" : "library"
},
{
"c99name" : "SwiftCalcTests",
"module_type" : "SwiftTarget",
"name" : "SwiftCalcTests",
"path" : "Tests/SwiftCalcTests",
"sources" : [
"SwiftCalcTests.swift"
],
"target_dependencies" : [
"SwiftCalc"
],
"type" : "test"
},
{
"c99name" : "SwiftCalc",
"module_type" : "SwiftTarget",
"name" : "SwiftCalc",
"path" : "Sources/SwiftCalc",
"product_memberships" : [
"SwiftCalc"
],
"sources" : [
"AttributedString.swift",
"Introspection.swift",
"Math.swift",
"SwiftCalc.swift"
],
"target_dependencies" : [
"parser"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.