Build Information
Successful build of Toml, reference v1.0.0 (f4a3d9), with Swift 6.1 for Android on 27 May 2025 13:39:35 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jdfergason/swift-toml.git
Reference: v1.0.0
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/jdfergason/swift-toml
* tag v1.0.0 -> FETCH_HEAD
HEAD is now at f4a3d9f Move linux support to added section in CHANGELOG
Cloned https://github.com/jdfergason/swift-toml.git
Revision (git rev-parse @):
f4a3d9fbd94a855d6f85989c7e4c29e0ad75999c
SUCCESS checkout https://github.com/jdfergason/swift-toml.git at v1.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/jdfergason/swift-toml.git
https://github.com/jdfergason/swift-toml.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Toml",
"name" : "Toml",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Toml",
"targets" : [
"Toml"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TomlTests",
"module_type" : "SwiftTarget",
"name" : "TomlTests",
"path" : "Tests/TomlTests",
"sources" : [
"TomlTests.swift"
],
"target_dependencies" : [
"Toml"
],
"type" : "test"
},
{
"c99name" : "Toml",
"module_type" : "SwiftTarget",
"name" : "Toml",
"path" : "Sources/Toml",
"product_memberships" : [
"Toml"
],
"sources" : [
"Date.swift",
"Evaluator.swift",
"Grammar.swift",
"Helpers.swift",
"Lexer.swift",
"Parser.swift",
"Path.swift",
"Regex.swift",
"Serialize.swift",
"String.swift",
"Tokens.swift",
"Toml.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/14] Compiling Toml Tokens.swift
/host/spi-builder-workspace/Sources/Toml/Tokens.swift:37:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Token' to 'Hashable' by implementing 'hash(into:)' instead
35 | case Comment(String)
36 |
37 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Token' to 'Hashable' by implementing 'hash(into:)' instead
38 | switch self {
39 | case .Identifier:
[4/15] Compiling Toml Serialize.swift
[5/15] Compiling Toml String.swift
[6/15] Compiling Toml Path.swift
/host/spi-builder-workspace/Sources/Toml/Path.swift:41:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
39 | }
40 |
41 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
42 | return components.reduce(0, { $0 ^ $1.hashValue })
43 | }
/host/spi-builder-workspace/Sources/Toml/Regex.swift:19:5: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'expressions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | extension String {
[7/15] Compiling Toml Regex.swift
/host/spi-builder-workspace/Sources/Toml/Path.swift:41:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
39 | }
40 |
41 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
42 | return components.reduce(0, { $0 ^ $1.hashValue })
43 | }
/host/spi-builder-workspace/Sources/Toml/Regex.swift:19:5: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'expressions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | extension String {
[8/15] Emitting module Toml
/host/spi-builder-workspace/Sources/Toml/Date.swift:28:13: warning: var 'rfc3339fractionalformatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | private var rfc3339fractionalformatter =
| |- warning: var 'rfc3339fractionalformatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339fractionalformatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'rfc3339fractionalformatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | buildDateFormatter(format: "yyyy'-'MM'-'dd'T'HH':'mm':'ss.SSSSSSZZZZZ")
30 |
/host/spi-builder-workspace/Sources/Toml/Date.swift:31:13: warning: var 'rfc3339formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | buildDateFormatter(format: "yyyy'-'MM'-'dd'T'HH':'mm':'ss.SSSSSSZZZZZ")
30 |
31 | private var rfc3339formatter: DateFormatter =
| |- warning: var 'rfc3339formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'rfc3339formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | buildDateFormatter(format: "yyyy'-'MM'-'dd'T'HH':'mm':'ssZZZZZ")
33 |
/host/spi-builder-workspace/Sources/Toml/Path.swift:41:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
39 | }
40 |
41 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Path' to 'Hashable' by implementing 'hash(into:)' instead
42 | return components.reduce(0, { $0 ^ $1.hashValue })
43 | }
/host/spi-builder-workspace/Sources/Toml/Regex.swift:19:5: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | import Foundation
18 |
19 | var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'expressions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | extension String {
/host/spi-builder-workspace/Sources/Toml/Tokens.swift:37:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Token' to 'Hashable' by implementing 'hash(into:)' instead
35 | case Comment(String)
36 |
37 | var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Token' to 'Hashable' by implementing 'hash(into:)' instead
38 | switch self {
39 | case .Identifier:
[9/15] Compiling Toml Date.swift
/host/spi-builder-workspace/Sources/Toml/Date.swift:28:13: warning: var 'rfc3339fractionalformatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | private var rfc3339fractionalformatter =
| |- warning: var 'rfc3339fractionalformatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339fractionalformatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'rfc3339fractionalformatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | buildDateFormatter(format: "yyyy'-'MM'-'dd'T'HH':'mm':'ss.SSSSSSZZZZZ")
30 |
/host/spi-builder-workspace/Sources/Toml/Date.swift:31:13: warning: var 'rfc3339formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | buildDateFormatter(format: "yyyy'-'MM'-'dd'T'HH':'mm':'ss.SSSSSSZZZZZ")
30 |
31 | private var rfc3339formatter: DateFormatter =
| |- warning: var 'rfc3339formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'rfc3339formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | buildDateFormatter(format: "yyyy'-'MM'-'dd'T'HH':'mm':'ssZZZZZ")
33 |
[10/15] Compiling Toml Evaluator.swift
/host/spi-builder-workspace/Sources/Toml/Date.swift:28:13: warning: var 'rfc3339fractionalformatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | private var rfc3339fractionalformatter =
| |- warning: var 'rfc3339fractionalformatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339fractionalformatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'rfc3339fractionalformatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | buildDateFormatter(format: "yyyy'-'MM'-'dd'T'HH':'mm':'ss.SSSSSSZZZZZ")
30 |
/host/spi-builder-workspace/Sources/Toml/Date.swift:31:13: warning: var 'rfc3339formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | buildDateFormatter(format: "yyyy'-'MM'-'dd'T'HH':'mm':'ss.SSSSSSZZZZZ")
30 |
31 | private var rfc3339formatter: DateFormatter =
| |- warning: var 'rfc3339formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rfc3339formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'rfc3339formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | buildDateFormatter(format: "yyyy'-'MM'-'dd'T'HH':'mm':'ssZZZZZ")
33 |
[11/15] Compiling Toml Lexer.swift
[12/15] Compiling Toml Parser.swift
[13/15] Compiling Toml Grammar.swift
[14/15] Compiling Toml Helpers.swift
[15/15] Compiling Toml Toml.swift
Build complete! (10.31s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Toml",
"name" : "Toml",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Toml",
"targets" : [
"Toml"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TomlTests",
"module_type" : "SwiftTarget",
"name" : "TomlTests",
"path" : "Tests/TomlTests",
"sources" : [
"TomlTests.swift"
],
"target_dependencies" : [
"Toml"
],
"type" : "test"
},
{
"c99name" : "Toml",
"module_type" : "SwiftTarget",
"name" : "Toml",
"path" : "Sources/Toml",
"product_memberships" : [
"Toml"
],
"sources" : [
"Date.swift",
"Evaluator.swift",
"Grammar.swift",
"Helpers.swift",
"Lexer.swift",
"Parser.swift",
"Path.swift",
"Regex.swift",
"Serialize.swift",
"String.swift",
"Tokens.swift",
"Toml.swift"
],
"type" : "library"
}
],
"tools_version" : "4.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.