Build Information
Successful build of Schemata, reference master (da457c), with Swift 6.1 for macOS (SPM) on 19 Aug 2026 22:34:45 UTC.
Swift 6 data race errors: 1
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.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jordanekay/Schemata.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jordanekay/Schemata
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at da457ce Typed performance improvements
Submodule path 'Carthage/Checkouts/Standards': checked out '89c30330fcac972a84a4876125064001b9c89f0f'
Submodule 'Carthage/Checkouts/Standards' (https://github.com/PersistX/Standards.git) registered for path 'Carthage/Checkouts/Standards'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/Standards'...
Cloned https://github.com/jordanekay/Schemata.git
Revision (git rev-parse @):
da457ce5c61d9dad591919f4b159039c2a8819fd
SUCCESS checkout https://github.com/jordanekay/Schemata.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jordanekay/Schemata.git
https://github.com/jordanekay/Schemata.git
{
"dependencies" : [
],
"manifest_display_name" : "Schemata",
"name" : "Schemata",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Schemata",
"targets" : [
"Schemata"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Schemata",
"module_type" : "SwiftTarget",
"name" : "Schemata",
"path" : "Sources",
"product_memberships" : [
"Schemata"
],
"sources" : [
"DecodeError.swift",
"Model.swift",
"None.swift",
"Primitive.swift",
"Projection.swift",
"Property.swift",
"PropertyCreation.swift",
"Schema.swift",
"Value.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
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/12] Compiling Schemata Value.swift
/Users/admin/builder/spi-builder-workspace/Sources/Value.swift:29:43: warning: capture of 'decode' with non-sendable type '(Decoded) -> NewDecoded' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | ) -> Value<Encoded, NewDecoded> {
28 | return Value<Encoded, NewDecoded>(
29 | decode: { self.decode($0).map(decode) },
| |- warning: capture of 'decode' with non-sendable type '(Decoded) -> NewDecoded' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | encode: { self.encode(encode($0)) }
31 | )
/Users/admin/builder/spi-builder-workspace/Sources/Value.swift:30:35: warning: capture of 'encode' with non-sendable type '(NewDecoded) -> Decoded' in a '@Sendable' closure; this is an error in the Swift 6 language mode
28 | return Value<Encoded, NewDecoded>(
29 | decode: { self.decode($0).map(decode) },
30 | encode: { self.encode(encode($0)) }
| |- warning: capture of 'encode' with non-sendable type '(NewDecoded) -> Decoded' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
31 | )
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Value.swift:39:47: warning: capture of 'decode' with non-sendable type '(Decoded) -> Result<NewDecoded, ValueError>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | ) -> Value<Encoded, NewDecoded> {
38 | return Value<Encoded, NewDecoded>(
39 | decode: { self.decode($0).flatMap(decode) },
| |- warning: capture of 'decode' with non-sendable type '(Decoded) -> Result<NewDecoded, ValueError>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | encode: { self.encode(encode($0)) }
41 | )
/Users/admin/builder/spi-builder-workspace/Sources/Value.swift:40:35: warning: capture of 'encode' with non-sendable type '(NewDecoded) -> Decoded' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 | return Value<Encoded, NewDecoded>(
39 | decode: { self.decode($0).flatMap(decode) },
40 | encode: { self.encode(encode($0)) }
| |- warning: capture of 'encode' with non-sendable type '(NewDecoded) -> Decoded' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
41 | )
42 | }
[4/12] Compiling Schemata Schema.swift
/Users/admin/builder/spi-builder-workspace/Sources/Schema.swift:103:24: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | private static let cacheLock = NSLock()
103 | private static var cache: [AnyKeyPath: [AnyProperty]] = [:]
| |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | public init<Model>(_ schema: Schema<Model>) {
[5/12] Compiling Schemata Primitive.swift
[6/12] Compiling Schemata Property.swift
[7/12] Compiling Schemata Projection.swift
[8/12] Compiling Schemata None.swift
[9/12] Compiling Schemata PropertyCreation.swift
[10/12] Emitting module Schemata
/Users/admin/builder/spi-builder-workspace/Sources/Schema.swift:103:24: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | private static let cacheLock = NSLock()
103 | private static var cache: [AnyKeyPath: [AnyProperty]] = [:]
| |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | public init<Model>(_ schema: Schema<Model>) {
[11/12] Compiling Schemata DecodeError.swift
[12/12] Compiling Schemata Model.swift
/Users/admin/builder/spi-builder-workspace/Sources/Model.swift:51:17: warning: assuming you mean 'Optional<None>.none'; did you mean 'None.none' instead?
49 | public static func decoded(from primitive: Primitive) -> None? {
50 | guard case .null = primitive else { return nil }
51 | return .none
| `- warning: assuming you mean 'Optional<None>.none'; did you mean 'None.none' instead?
52 | }
53 | }
Build complete! (5.40s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/Info.plist
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Schemata",
"name" : "Schemata",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Schemata",
"targets" : [
"Schemata"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Schemata",
"module_type" : "SwiftTarget",
"name" : "Schemata",
"path" : "Sources",
"product_memberships" : [
"Schemata"
],
"sources" : [
"DecodeError.swift",
"Model.swift",
"None.swift",
"Primitive.swift",
"Projection.swift",
"Property.swift",
"PropertyCreation.swift",
"Schema.swift",
"Value.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.