The Swift Package Index logo.Swift Package Index

Build Information

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

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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:         wasm
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-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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] 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>) {
[4/11] Compiling Schemata DecodeError.swift
[5/11] Compiling Schemata Model.swift
[6/11] Compiling Schemata Projection.swift
[7/12] Compiling Schemata Primitive.swift
[8/12] Compiling Schemata None.swift
[9/12] Compiling Schemata PropertyCreation.swift
[10/12] Compiling Schemata Property.swift
[11/12] 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>) {
[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! (13.45s)
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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.