Build Information
Successful build of SPIManifest, reference 1.8.2 (df8dfd
), with Swift 6.1 for Linux on 30 Apr 2025 17:57:09 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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftPackageIndex/SPIManifest.git
Reference: 1.8.2
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/SwiftPackageIndex/SPIManifest
* tag 1.8.2 -> FETCH_HEAD
HEAD is now at df8dfd0 Merge pull request #60 from SwiftPackageIndex/release-is-6.1-again
Cloned https://github.com/SwiftPackageIndex/SPIManifest.git
Revision (git rev-parse @):
df8dfd0295c5ec9840c2987f8adec20381243109
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftPackageIndex/SPIManifest.git at 1.8.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/SwiftPackageIndex/SPIManifest.git
https://github.com/SwiftPackageIndex/SPIManifest.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
}
],
"manifest_display_name" : "SPIManifest",
"name" : "SPIManifest",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SPIManifest",
"targets" : [
"SPIManifest"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SPIManifestTests",
"module_type" : "SwiftTarget",
"name" : "SPIManifestTests",
"path" : "Tests/SPIManifestTests",
"sources" : [
"Array+UniquedTests.swift",
"ManifestTests.swift",
"RegressionTests.swift",
"SwiftVersionTests.swift"
],
"target_dependencies" : [
"SPIManifest"
],
"type" : "test"
},
{
"c99name" : "SPIManifest",
"module_type" : "SwiftTarget",
"name" : "SPIManifest",
"path" : "Sources/SPIManifest",
"product_dependencies" : [
"Yams"
],
"product_memberships" : [
"SPIManifest"
],
"sources" : [
"Array+Uniqued.swift",
"Environment.swift",
"Manifest.swift",
"ManifestError.swift",
"Platform.swift",
"SwiftVersion.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/jpsim/Yams.git
[1/10445] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.59s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (2.08s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Building for debugging...
[0/9] Write sources
[2/9] Compiling writer.c
[3/9] Compiling parser.c
[4/9] Compiling api.c
[5/9] Compiling emitter.c
[6/9] Compiling scanner.c
[7/9] Compiling reader.c
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/28] Emitting module Yams
[11/30] Compiling Yams YamlError.swift
[12/30] Compiling Yams YamlTagProviding.swift
[13/30] Compiling Yams Resolver.swift
[14/30] Compiling Yams String+Yams.swift
[15/30] Compiling Yams Node.Sequence.swift
[16/30] Compiling Yams Node.swift
[17/30] Compiling Yams Parser.swift
[18/30] Compiling Yams Emitter.swift
[19/30] Compiling Yams Encoder.swift
[20/30] Compiling Yams Mark.swift
[21/30] Compiling Yams Node.Alias.swift
[22/30] Compiling Yams Node.Mapping.swift
[23/30] Compiling Yams Node.Scalar.swift
[24/30] Compiling Yams Tag.swift
[25/30] Compiling Yams YamlAnchorProviding.swift
[26/30] Compiling Yams RedundancyAliasingStrategy.swift
[27/30] Compiling Yams Representer.swift
[28/30] Compiling Yams Anchor.swift
[29/30] Compiling Yams Constructor.swift
[30/30] Compiling Yams Decoder.swift
[32/38] Compiling SPIManifest ManifestError.swift
[33/38] Compiling SPIManifest Platform.swift
[34/38] Compiling SPIManifest SwiftVersion.swift
[35/38] Compiling SPIManifest Environment.swift
/host/spi-builder-workspace/Sources/SPIManifest/Environment.swift:24:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 |
18 | struct Environment {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
19 | var fileManager: FileManager
20 | }
:
22 |
23 | extension Environment {
24 | static let live: Self = .init(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | fileManager: .live
26 | )
/host/spi-builder-workspace/Sources/SPIManifest/Environment.swift:44:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
30 | // MARK: FileManager
31 |
32 | struct FileManager {
| `- note: consider making struct 'FileManager' conform to the 'Sendable' protocol
33 | var contents: (_ atPath: String) -> Data?
34 | var createDirectory: (_ path: String,
:
42 | var temporaryDirectory: () -> URL
43 |
44 | static let live: Self = .init(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | contents: Foundation.FileManager.default.contents(atPath:),
46 | createDirectory: Foundation.FileManager.default
/host/spi-builder-workspace/Sources/SPIManifest/Environment.swift:69:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | #if DEBUG
69 | var Current: Environment = .live
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'Current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | #else
71 | let Current: Environment = .live
[36/38] Compiling SPIManifest Array+Uniqued.swift
[37/38] Emitting module SPIManifest
/host/spi-builder-workspace/Sources/SPIManifest/Environment.swift:24:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 |
18 | struct Environment {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
19 | var fileManager: FileManager
20 | }
:
22 |
23 | extension Environment {
24 | static let live: Self = .init(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | fileManager: .live
26 | )
/host/spi-builder-workspace/Sources/SPIManifest/Environment.swift:44:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
30 | // MARK: FileManager
31 |
32 | struct FileManager {
| `- note: consider making struct 'FileManager' conform to the 'Sendable' protocol
33 | var contents: (_ atPath: String) -> Data?
34 | var createDirectory: (_ path: String,
:
42 | var temporaryDirectory: () -> URL
43 |
44 | static let live: Self = .init(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | contents: Foundation.FileManager.default.contents(atPath:),
46 | createDirectory: Foundation.FileManager.default
/host/spi-builder-workspace/Sources/SPIManifest/Environment.swift:69:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | #if DEBUG
69 | var Current: Environment = .live
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'Current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | #else
71 | let Current: Environment = .live
[38/38] Compiling SPIManifest Manifest.swift
Build complete! (13.96s)
Build complete.
{
"dependencies" : [
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
}
],
"manifest_display_name" : "SPIManifest",
"name" : "SPIManifest",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SPIManifest",
"targets" : [
"SPIManifest"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SPIManifestTests",
"module_type" : "SwiftTarget",
"name" : "SPIManifestTests",
"path" : "Tests/SPIManifestTests",
"sources" : [
"Array+UniquedTests.swift",
"ManifestTests.swift",
"RegressionTests.swift",
"SwiftVersionTests.swift"
],
"target_dependencies" : [
"SPIManifest"
],
"type" : "test"
},
{
"c99name" : "SPIManifest",
"module_type" : "SwiftTarget",
"name" : "SPIManifest",
"path" : "Sources/SPIManifest",
"product_dependencies" : [
"Yams"
],
"product_memberships" : [
"SPIManifest"
],
"sources" : [
"Array+Uniqued.swift",
"Environment.swift",
"Manifest.swift",
"ManifestError.swift",
"Platform.swift",
"SwiftVersion.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.