Build Information
Successful build of Yaml, reference master (063286
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 11:36:19 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/behrang/YamlSwift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/behrang/YamlSwift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 063286d add version string
Cloned https://github.com/behrang/YamlSwift.git
Revision (git rev-parse @):
063286d0a66200b6ae0687c06914b19fe7c8dc83
SUCCESS checkout https://github.com/behrang/YamlSwift.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "yamlswift",
"name": "Yaml",
"url": "https://github.com/behrang/YamlSwift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/YamlSwift",
"dependencies": [
]
}
]
}
Fetching https://github.com/behrang/YamlSwift.git
[1/1384] Fetching yamlswift
Fetched https://github.com/behrang/YamlSwift.git from cache (0.89s)
Creating working copy for https://github.com/behrang/YamlSwift.git
Working copy of https://github.com/behrang/YamlSwift.git resolved at master (063286d)
warning: '.resolve-product-dependencies': dependency 'yamlswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/behrang/YamlSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling Yaml Yaml.swift
[4/9] Compiling Yaml YAMLResult.swift
[5/9] Compiling Yaml YAMLRegex.swift
[6/9] Compiling Yaml YAMLTokenizer.swift
[7/9] Compiling Yaml YAMLOperators.swift
[8/9] Emitting module Yaml
/Users/admin/builder/spi-builder-workspace/Sources/Yaml/YAMLParser.swift:143: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
141 | private typealias Context = Yaml.Context
142 |
143 | 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
144 |
145 | private typealias ContextValue = (context: Context, value: Yaml)
[9/9] Compiling Yaml YAMLParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yaml/YAMLParser.swift:143: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
141 | private typealias Context = Yaml.Context
142 |
143 | 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
144 |
145 | private typealias ContextValue = (context: Context, value: Yaml)
Build complete! (8.68s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Yaml",
"name" : "Yaml",
"path" : "/Users/admin/builder/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"
}
Done.