Build Information
Successful build of Schemata, reference master (3c3421
), with Swift 6.1 for Android on 27 May 2025 11:00:18 UTC.
Swift 6 data race errors: 8
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/persistx/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/persistx/schemata
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3c34217 Merge pull request #20 from PersistX/xcode-is-gonna-xcode
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/persistx/schemata.git
Revision (git rev-parse @):
3c342170cd0afbba797f834fed89f0b8b4e1622c
SUCCESS checkout https://github.com/persistx/schemata.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/persistx/schemata.git
https://github.com/persistx/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" : "SchemataTests",
"module_type" : "SwiftTarget",
"name" : "SchemataTests",
"path" : "Tests",
"sources" : [
"Fixtures.swift",
"ModelTests.swift",
"ProjectionTests.swift",
"SchemaTests.swift"
],
"target_dependencies" : [
"Schemata"
],
"type" : "test"
},
{
"c99name" : "Schemata",
"module_type" : "SwiftTarget",
"name" : "Schemata",
"path" : "Sources",
"product_memberships" : [
"Schemata"
],
"sources" : [
"DecodeError.swift",
"Initializer.swift",
"Model.swift",
"None.swift",
"Primitive.swift",
"Projection.swift",
"Property.swift",
"PropertyCreation.swift",
"Schema.swift",
"Value.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling Schemata Projection.swift
[4/13] Compiling Schemata Primitive.swift
[5/13] Compiling Schemata Property.swift
[6/13] Compiling Schemata Schema.swift
[7/13] Compiling Schemata PropertyCreation.swift
[8/13] Emitting module Schemata
/host/spi-builder-workspace/Sources/Model.swift:62:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Date, Date>' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | extension Date: ModelValue {
62 | public static let value = Value<Date, Date>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Date, Date>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:66:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Double, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
64 |
65 | extension Double: ModelValue {
66 | public static let value = Value<Double, Double>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Double, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:70:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Int, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
68 |
69 | extension Int: ModelValue {
70 | public static let value = Value<Int, Int>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Int, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:112:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | extension String: ModelValue {
112 | public static let value = Value<String, String>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | }
114 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:116:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, URL>' may have shared mutable state; this is an error in the Swift 6 language mode
114 |
115 | extension URL: ModelValue {
116 | public static let value = String.value.bimap(
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, URL>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | decode: { string in
118 | URL(string: string).map(Result.success)
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:126:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, UUID>' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | extension UUID: ModelValue {
126 | public static let value = String.value.bimap(
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, UUID>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | decode: { string in
128 | UUID(uuidString: string).map(Result.success)
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/None.swift:7:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'None' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// somewhat limited. Of particular concern is the inability for `Void` to conform to protocols.
5 | /// This type serves as an equivalent type that doesn't suffer from the same restrictions.
6 | public struct None: Hashable {
| `- note: consider making struct 'None' conform to the 'Sendable' protocol
7 | public static let none = None()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'None' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | private init() {}
/host/spi-builder-workspace/Sources/None.swift:13:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<None, None>' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension None: ModelValue {
13 | public static let value = Value<None, None>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<None, None>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
[9/13] Compiling Schemata DecodeError.swift
[10/13] Compiling Schemata Initializer.swift
[11/13] Compiling Schemata Model.swift
/host/spi-builder-workspace/Sources/Model.swift:62:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Date, Date>' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | extension Date: ModelValue {
62 | public static let value = Value<Date, Date>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Date, Date>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:66:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Double, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
64 |
65 | extension Double: ModelValue {
66 | public static let value = Value<Double, Double>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Double, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:70:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Int, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
68 |
69 | extension Int: ModelValue {
70 | public static let value = Value<Int, Int>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Int, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:112:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | extension String: ModelValue {
112 | public static let value = Value<String, String>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | }
114 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:116:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, URL>' may have shared mutable state; this is an error in the Swift 6 language mode
114 |
115 | extension URL: ModelValue {
116 | public static let value = String.value.bimap(
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, URL>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | decode: { string in
118 | URL(string: string).map(Result.success)
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:126:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, UUID>' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | extension UUID: ModelValue {
126 | public static let value = String.value.bimap(
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, UUID>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | decode: { string in
128 | UUID(uuidString: string).map(Result.success)
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/None.swift:7:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'None' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// somewhat limited. Of particular concern is the inability for `Void` to conform to protocols.
5 | /// This type serves as an equivalent type that doesn't suffer from the same restrictions.
6 | public struct None: Hashable {
| `- note: consider making struct 'None' conform to the 'Sendable' protocol
7 | public static let none = None()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'None' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | private init() {}
/host/spi-builder-workspace/Sources/None.swift:13:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<None, None>' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension None: ModelValue {
13 | public static let value = Value<None, None>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<None, None>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
[12/13] Compiling Schemata None.swift
/host/spi-builder-workspace/Sources/Model.swift:62:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Date, Date>' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | extension Date: ModelValue {
62 | public static let value = Value<Date, Date>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Date, Date>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:66:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Double, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
64 |
65 | extension Double: ModelValue {
66 | public static let value = Value<Double, Double>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Double, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:70:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Int, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
68 |
69 | extension Int: ModelValue {
70 | public static let value = Value<Int, Int>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<Int, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:112:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | extension String: ModelValue {
112 | public static let value = Value<String, String>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | }
114 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:116:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, URL>' may have shared mutable state; this is an error in the Swift 6 language mode
114 |
115 | extension URL: ModelValue {
116 | public static let value = String.value.bimap(
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, URL>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | decode: { string in
118 | URL(string: string).map(Result.success)
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/Model.swift:126:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, UUID>' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | extension UUID: ModelValue {
126 | public static let value = String.value.bimap(
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<String, UUID>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | decode: { string in
128 | UUID(uuidString: string).map(Result.success)
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
/host/spi-builder-workspace/Sources/None.swift:7:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'None' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// somewhat limited. Of particular concern is the inability for `Void` to conform to protocols.
5 | /// This type serves as an equivalent type that doesn't suffer from the same restrictions.
6 | public struct None: Hashable {
| `- note: consider making struct 'None' conform to the 'Sendable' protocol
7 | public static let none = None()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'None' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | private init() {}
/host/spi-builder-workspace/Sources/None.swift:13:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<None, None>' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension None: ModelValue {
13 | public static let value = Value<None, None>()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Value<None, None>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/host/spi-builder-workspace/Sources/Value.swift:3:15: note: consider making generic struct 'Value' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Value<Encoded, Decoded> {
| `- note: consider making generic struct 'Value' conform to the 'Sendable' protocol
4 | public typealias Decoder = (Encoded) -> Result<Decoded, ValueError>
5 | public typealias Encoder = (Decoded) -> Encoded
[13/13] Compiling Schemata Value.swift
Build complete! (11.12s)
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" : "SchemataTests",
"module_type" : "SwiftTarget",
"name" : "SchemataTests",
"path" : "Tests",
"sources" : [
"Fixtures.swift",
"ModelTests.swift",
"ProjectionTests.swift",
"SchemaTests.swift"
],
"target_dependencies" : [
"Schemata"
],
"type" : "test"
},
{
"c99name" : "Schemata",
"module_type" : "SwiftTarget",
"name" : "Schemata",
"path" : "Sources",
"product_memberships" : [
"Schemata"
],
"sources" : [
"DecodeError.swift",
"Initializer.swift",
"Model.swift",
"None.swift",
"Primitive.swift",
"Projection.swift",
"Property.swift",
"PropertyCreation.swift",
"Schema.swift",
"Value.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.