Build Information
Successful build of MathSolver, reference main (27ff08), with Swift 6.1 for macOS (SPM) on 5 Oct 2026 05:05:21 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aiPublicProject/mathsolver-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aiPublicProject/mathsolver-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 27ff084 ci: test.yml moves to ubuntu-24.04 to match the direct swift.org toolchain (glibc 2.38)
Cloned https://github.com/aiPublicProject/mathsolver-swift.git
Revision (git rev-parse @):
27ff084aa535a60cf0e974134c55b3c49c405e13
SUCCESS checkout https://github.com/aiPublicProject/mathsolver-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/aiPublicProject/mathsolver-swift.git
https://github.com/aiPublicProject/mathsolver-swift.git
{
"dependencies" : [
],
"manifest_display_name" : "MathSolver",
"name" : "MathSolver",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MathSolver",
"targets" : [
"MathSolver"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MathSolverTests",
"module_type" : "SwiftTarget",
"name" : "MathSolverTests",
"path" : "Tests/MathSolverTests",
"sources" : [
"MathSolverTests.swift"
],
"target_dependencies" : [
"MathSolver"
],
"type" : "test"
},
{
"c99name" : "MathSolver",
"module_type" : "SwiftTarget",
"name" : "MathSolver",
"path" : "Sources/MathSolver",
"product_memberships" : [
"MathSolver"
],
"sources" : [
"MathSolver.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/4] Emitting module MathSolver
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MathSolver/MathSolver.swift:436:23: warning: static property 'realHTTPPost' is not concurrency-safe because non-'Sendable' type 'MathSolver.HttpPost' (aka '(String, Dictionary<String, String>, String) throws -> (Int, String)') may have shared mutable state; this is an error in the Swift 6 language mode
434 |
435 | /// Real HTTP POST via URLSession. Returns (status, raw body).
436 | public static let realHTTPPost: HttpPost = { url, headers, body in
| |- warning: static property 'realHTTPPost' is not concurrency-safe because non-'Sendable' type 'MathSolver.HttpPost' (aka '(String, Dictionary<String, String>, String) throws -> (Int, String)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'realHTTPPost' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
437 | var request = URLRequest(url: URL(string: url)!)
438 | request.httpMethod = "POST"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MathSolver/MathSolver.swift:460:23: warning: static property 'defaultTransport' is not concurrency-safe because non-'Sendable' type 'MathSolver.Transport' (aka '(String, String, String) throws -> String') may have shared mutable state; this is an error in the Swift 6 language mode
458 | }
459 |
460 | public static let defaultTransport: Transport = { url, body, apiKey in
| |- warning: static property 'defaultTransport' is not concurrency-safe because non-'Sendable' type 'MathSolver.Transport' (aka '(String, String, String) throws -> String') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
461 | let (status, raw) = try MathSolver.realHTTPPost(
462 | url,
[4/4] Compiling MathSolver MathSolver.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MathSolver/MathSolver.swift:436:23: warning: static property 'realHTTPPost' is not concurrency-safe because non-'Sendable' type 'MathSolver.HttpPost' (aka '(String, Dictionary<String, String>, String) throws -> (Int, String)') may have shared mutable state; this is an error in the Swift 6 language mode
434 |
435 | /// Real HTTP POST via URLSession. Returns (status, raw body).
436 | public static let realHTTPPost: HttpPost = { url, headers, body in
| |- warning: static property 'realHTTPPost' is not concurrency-safe because non-'Sendable' type 'MathSolver.HttpPost' (aka '(String, Dictionary<String, String>, String) throws -> (Int, String)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'realHTTPPost' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
437 | var request = URLRequest(url: URL(string: url)!)
438 | request.httpMethod = "POST"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MathSolver/MathSolver.swift:460:23: warning: static property 'defaultTransport' is not concurrency-safe because non-'Sendable' type 'MathSolver.Transport' (aka '(String, String, String) throws -> String') may have shared mutable state; this is an error in the Swift 6 language mode
458 | }
459 |
460 | public static let defaultTransport: Transport = { url, body, apiKey in
| |- warning: static property 'defaultTransport' is not concurrency-safe because non-'Sendable' type 'MathSolver.Transport' (aka '(String, String, String) throws -> String') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
461 | let (status, raw) = try MathSolver.realHTTPPost(
462 | url,
/Users/admin/builder/spi-builder-workspace/Sources/MathSolver/MathSolver.swift:475:36: warning: mutation of captured var 'result' in concurrently-executing code
473 | let sem = DispatchSemaphore(value: 0)
474 | let task = self.dataTask(with: request) { data, response, error in
475 | if let error = error { result = .failure(error) }
| `- warning: mutation of captured var 'result' in concurrently-executing code
476 | else if let data = data, let response = response { result = .success((data, response)) }
477 | sem.signal()
/Users/admin/builder/spi-builder-workspace/Sources/MathSolver/MathSolver.swift:476:64: warning: mutation of captured var 'result' in concurrently-executing code
474 | let task = self.dataTask(with: request) { data, response, error in
475 | if let error = error { result = .failure(error) }
476 | else if let data = data, let response = response { result = .success((data, response)) }
| `- warning: mutation of captured var 'result' in concurrently-executing code
477 | sem.signal()
478 | }
Build complete! (5.13s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MathSolver",
"name" : "MathSolver",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MathSolver",
"targets" : [
"MathSolver"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MathSolverTests",
"module_type" : "SwiftTarget",
"name" : "MathSolverTests",
"path" : "Tests/MathSolverTests",
"sources" : [
"MathSolverTests.swift"
],
"target_dependencies" : [
"MathSolver"
],
"type" : "test"
},
{
"c99name" : "MathSolver",
"module_type" : "SwiftTarget",
"name" : "MathSolver",
"path" : "Sources/MathSolver",
"product_memberships" : [
"MathSolver"
],
"sources" : [
"MathSolver.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.