Build Information
Successful build of Archery, reference 0.3.3 (d71927
), with Swift 6.0 for Linux on 29 Nov 2024 01:34:22 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vknabel/archery.git
Reference: 0.3.3
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
* tag 0.3.3 -> FETCH_HEAD
HEAD is now at d719271 Merge pull request #12 from vknabel/release/0.3.3
Cloned https://github.com/vknabel/archery.git
Revision (git rev-parse @):
d71927174f14bebf04237e870b8fd4dd4dd4c1c2
SUCCESS checkout https://github.com/vknabel/archery.git at 0.3.3
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/vknabel/archery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/jpsim/Yams.git
[1/9936] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (0.89s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.44s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
Building for debugging...
[0/17] Write sources
[4/17] Compiling writer.c
[5/17] Compiling reader.c
[6/17] Compiling parser.c
[7/17] Compiling emitter.c
[8/17] Compiling api.c
[9/17] Write swift-version-24593BA9C3E375BF.txt
[10/17] Compiling scanner.c
[12/32] Compiling Yams Mark.swift
[13/32] Compiling Yams Node.Mapping.swift
[14/33] Compiling Yams YamlError.swift
[15/33] Compiling Yams Emitter.swift
[16/33] Compiling Yams Encoder.swift
[17/33] Compiling Yams String+Yams.swift
[18/33] Compiling Yams Tag.swift
[19/33] Emitting module Yams
[20/33] Compiling Yams Constructor.swift
[21/33] Compiling Yams Decoder.swift
[22/33] Compiling Yams Representer.swift
[23/33] Compiling Yams Resolver.swift
[24/33] Compiling Yams Node.Scalar.swift
[25/33] Compiling Yams Node.Sequence.swift
[26/33] Compiling Yams Node.swift
[27/33] Compiling Yams Parser.swift
[28/34] Wrapping AST for Yams for debugging
[30/48] Compiling ArcheryKit LabeledScript.swift
[31/48] Compiling ArcheryKit LegacyScript.swift
[32/49] Compiling ArcheryKit Version.generated.swift
[33/49] 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: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'scheduledProcesses' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'hasBeenPrepared' with '@MainActor' if property should only be accessed from the main actor
| `- 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 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[34/49] 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: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'scheduledProcesses' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'hasBeenPrepared' with '@MainActor' if property should only be accessed from the main actor
| `- 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 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[35/49] Compiling ArcheryKit ScriptExecution.swift
[36/49] Compiling ArcheryKit RawDataFormat.swift
[37/49] Compiling ArcheryKit Script.swift
[38/49] Compiling ArcheryKit Metadata.swift
[39/49] Compiling ArcheryKit OfferingMetadata.swift
[40/49] Compiling ArcheryKit Archerfile.swift
[41/49] Compiling ArcheryKit Archery.swift
[42/49] 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: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'scheduledProcesses' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'hasBeenPrepared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | private static func prepare() {
55 | if hasBeenPrepared { return }
[43/49] Compiling ArcheryKit ArcheryError.swift
[44/49] Compiling ArcheryKit ExecutionContext.swift
[45/50] Wrapping AST for ArcheryKit for debugging
[47/58] Compiling ArcheryInterface VersionCommand.swift
[48/58] Emitting module ArcheryInterface
[49/59] Compiling ArcheryInterface Command.swift
[50/59] Compiling ArcheryInterface ArcheryInterface.swift
[51/59] Compiling ArcheryInterface ApiLevelCommand.swift
[52/59] Compiling ArcheryInterface ExecutionCommand.swift
[53/59] Compiling ArcheryInterface InitCommand.swift
[54/59] Compiling ArcheryInterface InitCommand+Contents.swift
[55/59] Compiling ArcheryInterface HelpCommand.swift
[56/60] Wrapping AST for ArcheryInterface for debugging
[58/62] Compiling Archery main.swift
[59/62] Emitting module Archery
[60/63] Wrapping AST for Archery for debugging
[61/63] Write Objects.LinkFileList
[62/63] Linking archery
Build complete! (20.73s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.