The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Schemata, reference master (776426), with Swift 6.1 for macOS (SPM) on 29 Aug 2025 22:46:37 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 InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 776426b Update schema
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 @):
776426b83cf9f11d9a88923388866f36504fda26
SUCCESS checkout https://github.com/jordanekay/Schemata.git at master
========================================
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": "schemata",
      "name": "Schemata",
      "url": "https://github.com/jordanekay/Schemata.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Schemata",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jordanekay/Schemata.git
[1/1206] Fetching schemata
Fetched https://github.com/jordanekay/Schemata.git from cache (0.84s)
Creating working copy for https://github.com/jordanekay/Schemata.git
Working copy of https://github.com/jordanekay/Schemata.git resolved at master (776426b)
warning: '.resolve-product-dependencies': dependency 'schemata' is not used by any target
Found 0 product dependencies
========================================
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 Property.swift
[5/12] Compiling Schemata Primitive.swift
[6/12] Compiling Schemata PropertyCreation.swift
[7/12] Compiling Schemata Projection.swift
[8/12] Compiling Schemata None.swift
[9/12] Compiling Schemata DecodeError.swift
[10/12] Emitting module Schemata
/Users/admin/builder/spi-builder-workspace/Sources/Schema.swift:102: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
100 |     public var properties: [AnyKeyPath: AnyProperty]
101 |
102 |     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
103 |
104 |     public init<Model>(_ schema: Schema<Model>) {
[11/12] Compiling Schemata Schema.swift
/Users/admin/builder/spi-builder-workspace/Sources/Schema.swift:102: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
100 |     public var properties: [AnyKeyPath: AnyProperty]
101 |
102 |     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
103 |
104 |     public init<Model>(_ schema: Schema<Model>) {
[12/12] Compiling Schemata Model.swift
Build complete! (5.72s)
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.