Build Information
Successful build of Yaml, reference 3.4.4 (287f5c
), with Swift 6.0 for Linux on 31 Oct 2024 11:29:48 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/behrang/YamlSwift.git
Reference: 3.4.4
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/behrang/YamlSwift
* tag 3.4.4 -> FETCH_HEAD
HEAD is now at 287f5ca Merge branch 'release/3.4.4'
Cloned https://github.com/behrang/YamlSwift.git
Revision (git rev-parse @):
287f5cab7da0d92eb947b5fd8151b203ae04a9a3
SUCCESS checkout https://github.com/behrang/YamlSwift.git at 3.4.4
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/behrang/YamlSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling Yaml YAMLResult.swift
[4/9] Compiling Yaml YAMLRegex.swift
[5/9] Compiling Yaml Yaml.swift
[6/9] Compiling Yaml YAMLTokenizer.swift
[7/9] Compiling Yaml YAMLOperators.swift
[8/9] Emitting module Yaml
/host/spi-builder-workspace/Sources/Yaml/YAMLParser.swift:64:13: warning: var 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | private typealias Context = Yaml.Context
63 |
64 | private var error = Yaml.Context.error
| |- warning: var 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'error' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'error' 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
65 |
66 | private typealias ContextValue = (context: Context, value: Yaml)
[9/9] Compiling Yaml YAMLParser.swift
/host/spi-builder-workspace/Sources/Yaml/YAMLParser.swift:64:13: warning: var 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | private typealias Context = Yaml.Context
63 |
64 | private var error = Yaml.Context.error
| |- warning: var 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'error' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'error' 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
65 |
66 | private typealias ContextValue = (context: Context, value: Yaml)
Build complete! (12.34s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Yaml",
"name" : "Yaml",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Yaml",
"targets" : [
"Yaml"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "YamlTests",
"module_type" : "SwiftTarget",
"name" : "YamlTests",
"path" : "Tests/YamlTests",
"sources" : [
"ExampleTests.swift",
"YamlTests.swift"
],
"target_dependencies" : [
"Yaml"
],
"type" : "test"
},
{
"c99name" : "Yaml",
"module_type" : "SwiftTarget",
"name" : "Yaml",
"path" : "Sources/Yaml",
"product_memberships" : [
"Yaml"
],
"sources" : [
"YAMLOperators.swift",
"YAMLParser.swift",
"YAMLRegex.swift",
"YAMLResult.swift",
"YAMLTokenizer.swift",
"Yaml.swift"
],
"type" : "library"
}
],
"tools_version" : "4.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
Done.