Build Information
Successful build of Archery, reference master (423523
), with Swift 6.1 for Linux on 27 Apr 2025 05:23:07 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vknabel/archery.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/vknabel/archery
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4235239 Merge pull request #14 from vknabel/dependabot/bundler/activesupport-7.0.4.3
Cloned https://github.com/vknabel/archery.git
Revision (git rev-parse @):
423523973f6a14c4c33632262be094a66d4a7b52
SUCCESS checkout https://github.com/vknabel/archery.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/vknabel/archery.git
https://github.com/vknabel/archery.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
}
],
"manifest_display_name" : "Archery",
"name" : "Archery",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "archery",
"targets" : [
"Archery"
],
"type" : {
"executable" : null
}
},
{
"name" : "ArcheryKit",
"targets" : [
"ArcheryKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ArcheryInterface",
"targets" : [
"ArcheryInterface"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ArcheryKitTests",
"module_type" : "SwiftTarget",
"name" : "ArcheryKitTests",
"path" : "Tests/ArcheryKitTests",
"sources" : [
"ArcherfileParsingTests.swift",
"ArcheryKitTests.swift",
"ArcheryTests.swift",
"MetadataTests.swift",
"ScriptParsingTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ArcheryKit"
],
"type" : "test"
},
{
"c99name" : "ArcheryKit",
"module_type" : "SwiftTarget",
"name" : "ArcheryKit",
"path" : "Sources/ArcheryKit",
"product_dependencies" : [
"Yams"
],
"product_memberships" : [
"archery",
"ArcheryKit",
"ArcheryInterface"
],
"sources" : [
"Archerfile.swift",
"Archery.swift",
"ArcheryError.swift",
"ExecutionContext.swift",
"LabeledScript.swift",
"LegacyScript.swift",
"Metadata.swift",
"OfferingMetadata.swift",
"Path.swift",
"ProcessScheduler.swift",
"RawDataFormat.swift",
"Script.swift",
"ScriptExecution.swift",
"Version.generated.swift"
],
"type" : "library"
},
{
"c99name" : "ArcheryInterfaceTests",
"module_type" : "SwiftTarget",
"name" : "ArcheryInterfaceTests",
"path" : "Tests/ArcheryInterfaceTests",
"sources" : [
"ArcheryInterfaceTests.swift",
"InitCommandTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ArcheryInterface"
],
"type" : "test"
},
{
"c99name" : "ArcheryInterface",
"module_type" : "SwiftTarget",
"name" : "ArcheryInterface",
"path" : "Sources/ArcheryInterface",
"product_memberships" : [
"archery",
"ArcheryInterface"
],
"sources" : [
"ArcheryInterface.swift",
"Command.swift",
"Commands/ApiLevelCommand.swift",
"Commands/ExecutionCommand.swift",
"Commands/HelpCommand.swift",
"Commands/InitCommand.swift",
"Commands/VersionCommand.swift",
"InitCommand+Contents.swift"
],
"target_dependencies" : [
"ArcheryKit"
],
"type" : "library"
},
{
"c99name" : "Archery",
"module_type" : "SwiftTarget",
"name" : "Archery",
"path" : "Sources/Archery",
"product_memberships" : [
"archery"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ArcheryInterface"
],
"type" : "executable"
}
],
"tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/10289] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.03s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (1.59s)
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/17] Write sources
[4/17] Compiling writer.c
[5/17] Compiling reader.c
[6/17] Compiling api.c
[7/17] Compiling parser.c
[8/17] Compiling scanner.c
[9/17] Compiling emitter.c
[10/17] Write swift-version-24593BA9C3E375BF.txt
[12/36] Emitting module Yams
[13/38] Compiling Yams Node.Sequence.swift
[14/38] Compiling Yams Node.swift
[15/38] Compiling Yams Parser.swift
[16/38] Compiling Yams RedundancyAliasingStrategy.swift
[17/38] Compiling Yams Representer.swift
[18/38] Compiling Yams YamlError.swift
[19/38] Compiling Yams YamlTagProviding.swift
[20/38] Compiling Yams Tag.swift
[21/38] Compiling Yams YamlAnchorProviding.swift
[22/38] Compiling Yams Emitter.swift
[23/38] Compiling Yams Encoder.swift
[24/38] Compiling Yams Mark.swift
[25/38] Compiling Yams Node.Alias.swift
[26/38] Compiling Yams Node.Mapping.swift
[27/38] Compiling Yams Node.Scalar.swift
[28/38] Compiling Yams Resolver.swift
[29/38] Compiling Yams String+Yams.swift
[30/38] Compiling Yams Anchor.swift
[31/38] Compiling Yams Constructor.swift
[32/38] Compiling Yams Decoder.swift
[33/39] Wrapping AST for Yams for debugging
[35/53] Compiling ArcheryKit LabeledScript.swift
[36/53] Compiling ArcheryKit LegacyScript.swift
[37/53] Compiling ArcheryKit RawDataFormat.swift
[38/53] Compiling ArcheryKit Script.swift
[39/53] Compiling ArcheryKit Path.swift
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:13:24: warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | class ProcessScheduler {
13 | private static var lock = NSLock()
| |- warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
15 |
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:14:16: warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | class ProcessScheduler {
13 | private static var lock = NSLock()
14 | static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
| |- warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scheduledProcesses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'scheduledProcesses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | static func run(_ process: Process) throws {
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:53:24: warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | extension ProcessScheduler {
53 | private static var hasBeenPrepared = false
| |- warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hasBeenPrepared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hasBeenPrepared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | private static func prepare() {
55 | if hasBeenPrepared { return }
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:35:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | task.waitUntilExit()
34 | }
35 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
[40/53] Compiling ArcheryKit ProcessScheduler.swift
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:13:24: warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | class ProcessScheduler {
13 | private static var lock = NSLock()
| |- warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
15 |
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:14:16: warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | class ProcessScheduler {
13 | private static var lock = NSLock()
14 | static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
| |- warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scheduledProcesses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'scheduledProcesses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | static func run(_ process: Process) throws {
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:53:24: warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | extension ProcessScheduler {
53 | private static var hasBeenPrepared = false
| |- warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hasBeenPrepared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hasBeenPrepared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | private static func prepare() {
55 | if hasBeenPrepared { return }
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:35:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | task.waitUntilExit()
34 | }
35 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
[41/53] Compiling ArcheryKit Metadata.swift
[42/53] Compiling ArcheryKit OfferingMetadata.swift
[43/53] Compiling ArcheryKit ScriptExecution.swift
[44/54] Compiling ArcheryKit Archerfile.swift
[45/54] Compiling ArcheryKit Archery.swift
[46/54] Emitting module ArcheryKit
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:13:24: warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | class ProcessScheduler {
13 | private static var lock = NSLock()
| |- warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
15 |
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:14:16: warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | class ProcessScheduler {
13 | private static var lock = NSLock()
14 | static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
| |- warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scheduledProcesses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'scheduledProcesses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | static func run(_ process: Process) throws {
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:53:24: warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | extension ProcessScheduler {
53 | private static var hasBeenPrepared = false
| |- warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hasBeenPrepared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hasBeenPrepared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | private static func prepare() {
55 | if hasBeenPrepared { return }
[47/54] Compiling ArcheryKit ArcheryError.swift
[48/54] Compiling ArcheryKit ExecutionContext.swift
[49/54] Compiling ArcheryKit Version.generated.swift
[50/55] Wrapping AST for ArcheryKit for debugging
[52/63] Compiling ArcheryInterface InitCommand.swift
[53/63] Compiling ArcheryInterface VersionCommand.swift
[54/64] Compiling ArcheryInterface ExecutionCommand.swift
[55/64] Compiling ArcheryInterface ApiLevelCommand.swift
[56/64] Compiling ArcheryInterface HelpCommand.swift
[57/64] Compiling ArcheryInterface Command.swift
[58/64] Emitting module ArcheryInterface
[59/64] Compiling ArcheryInterface ArcheryInterface.swift
[60/64] Compiling ArcheryInterface InitCommand+Contents.swift
[61/65] Wrapping AST for ArcheryInterface for debugging
[63/67] Emitting module Archery
[64/67] Compiling Archery main.swift
[65/68] Wrapping AST for Archery for debugging
[66/68] Write Objects.LinkFileList
[67/68] Linking archery
Build complete! (14.62s)
Build complete.
{
"dependencies" : [
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
}
],
"manifest_display_name" : "Archery",
"name" : "Archery",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "archery",
"targets" : [
"Archery"
],
"type" : {
"executable" : null
}
},
{
"name" : "ArcheryKit",
"targets" : [
"ArcheryKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ArcheryInterface",
"targets" : [
"ArcheryInterface"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ArcheryKitTests",
"module_type" : "SwiftTarget",
"name" : "ArcheryKitTests",
"path" : "Tests/ArcheryKitTests",
"sources" : [
"ArcherfileParsingTests.swift",
"ArcheryKitTests.swift",
"ArcheryTests.swift",
"MetadataTests.swift",
"ScriptParsingTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ArcheryKit"
],
"type" : "test"
},
{
"c99name" : "ArcheryKit",
"module_type" : "SwiftTarget",
"name" : "ArcheryKit",
"path" : "Sources/ArcheryKit",
"product_dependencies" : [
"Yams"
],
"product_memberships" : [
"archery",
"ArcheryKit",
"ArcheryInterface"
],
"sources" : [
"Archerfile.swift",
"Archery.swift",
"ArcheryError.swift",
"ExecutionContext.swift",
"LabeledScript.swift",
"LegacyScript.swift",
"Metadata.swift",
"OfferingMetadata.swift",
"Path.swift",
"ProcessScheduler.swift",
"RawDataFormat.swift",
"Script.swift",
"ScriptExecution.swift",
"Version.generated.swift"
],
"type" : "library"
},
{
"c99name" : "ArcheryInterfaceTests",
"module_type" : "SwiftTarget",
"name" : "ArcheryInterfaceTests",
"path" : "Tests/ArcheryInterfaceTests",
"sources" : [
"ArcheryInterfaceTests.swift",
"InitCommandTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ArcheryInterface"
],
"type" : "test"
},
{
"c99name" : "ArcheryInterface",
"module_type" : "SwiftTarget",
"name" : "ArcheryInterface",
"path" : "Sources/ArcheryInterface",
"product_memberships" : [
"archery",
"ArcheryInterface"
],
"sources" : [
"ArcheryInterface.swift",
"Command.swift",
"Commands/ApiLevelCommand.swift",
"Commands/ExecutionCommand.swift",
"Commands/HelpCommand.swift",
"Commands/InitCommand.swift",
"Commands/VersionCommand.swift",
"InitCommand+Contents.swift"
],
"target_dependencies" : [
"ArcheryKit"
],
"type" : "library"
},
{
"c99name" : "Archery",
"module_type" : "SwiftTarget",
"name" : "Archery",
"path" : "Sources/Archery",
"product_memberships" : [
"archery"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ArcheryInterface"
],
"type" : "executable"
}
],
"tools_version" : "5.4"
}
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.