The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Schemata, reference master (776426), with Swift 6.1 for Android on 29 Aug 2025 22:46:45 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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 '/host/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
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jordanekay/Schemata.git
https://github.com/jordanekay/Schemata.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Schemata",
  "name" : "Schemata",
  "path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Info.plist
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling Schemata PropertyCreation.swift
[4/11] Compiling Schemata Schema.swift
/host/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>) {
[5/12] Compiling Schemata DecodeError.swift
[6/12] Compiling Schemata Model.swift
[7/12] Emitting module Schemata
/host/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>) {
[8/12] Compiling Schemata None.swift
[9/12] Compiling Schemata Projection.swift
[10/12] Compiling Schemata Primitive.swift
[11/12] Compiling Schemata Property.swift
[12/12] Compiling Schemata Value.swift
/host/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 |         )
/host/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 |     }
/host/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 |         )
/host/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 |     }
Build complete! (16.58s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Schemata",
  "name" : "Schemata",
  "path" : "/host/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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.