Build Information
Successful build of Ciao, reference master (0d0fce
), with Swift 6.0 for macOS (SPM) on 7 Jan 2025 17:45:18 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AlTavares/Ciao.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AlTavares/Ciao
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0d0fce4 Merge pull request #9 from joshbillions/fix/update_installation_instructions
Cloned https://github.com/AlTavares/Ciao.git
Revision (git rev-parse @):
0d0fce4d163442c8f9ba6fb379206bb2c177f988
SUCCESS checkout https://github.com/AlTavares/Ciao.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": "ciao",
"name": "Ciao",
"url": "https://github.com/AlTavares/Ciao.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Ciao",
"dependencies": [
]
}
]
}
Fetching https://github.com/AlTavares/Ciao.git
[1/595] Fetching ciao
Fetched https://github.com/AlTavares/Ciao.git from cache (0.79s)
Creating working copy for https://github.com/AlTavares/Ciao.git
Working copy of https://github.com/AlTavares/Ciao.git resolved at master (0d0fce4)
warning: '.resolve-product-dependencies': dependency 'ciao' 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/AlTavares/Ciao.git
https://github.com/AlTavares/Ciao.git
{
"dependencies" : [
],
"manifest_display_name" : "Ciao",
"name" : "Ciao",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Ciao",
"targets" : [
"Ciao"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CiaoTests",
"module_type" : "SwiftTarget",
"name" : "CiaoTests",
"path" : "Tests/CiaoTests",
"sources" : [
"CiaoBrowserTests.swift",
"CiaoServerTests.swift",
"TestWithExpectation.swift"
],
"target_dependencies" : [
"Ciao"
],
"type" : "test"
},
{
"c99name" : "Ciao",
"module_type" : "SwiftTarget",
"name" : "Ciao",
"path" : "Sources/Ciao",
"product_memberships" : [
"Ciao"
],
"sources" : [
"CiaoBrowser.swift",
"CiaoResolver.swift",
"CiaoServer.swift",
"Logger.swift",
"NetServiceExtension.swift",
"ServiceType.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/9] Compiling Ciao NetServiceExtension.swift
[4/9] Compiling Ciao Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Ciao/Logger.swift:34:12: warning: var 'LoggerLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public var LoggerLevel = Level.verbose
| |- warning: var 'LoggerLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'LoggerLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'LoggerLevel' 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
35 |
36 | struct Logger {
/Users/admin/builder/spi-builder-workspace/Sources/Ciao/Logger.swift:37:24: warning: static property 'dateFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | struct Logger {
37 | private static var dateFormat = "yyyy-MM-dd hh:mm:ssSSS"
| |- warning: static property 'dateFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormat' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormat' 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
38 | private static var dateFormatter: DateFormatter {
39 | let formatter = DateFormatter()
[5/9] Compiling Ciao ServiceType.swift
[6/9] Compiling Ciao CiaoServer.swift
[7/9] Compiling Ciao CiaoBrowser.swift
[8/9] Compiling Ciao CiaoResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Ciao/CiaoResolver.swift:32:1: warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
30 |
31 | public typealias ErrorDictionary = [String: NSNumber]
32 | extension ErrorDictionary: Error {}
| |- warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
33 |
34 | extension CiaoResolver {
[9/9] Emitting module Ciao
/Users/admin/builder/spi-builder-workspace/Sources/Ciao/CiaoResolver.swift:32:1: warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
30 |
31 | public typealias ErrorDictionary = [String: NSNumber]
32 | extension ErrorDictionary: Error {}
| |- warning: extension declares a conformance of imported type 'Dictionary' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
33 |
34 | extension CiaoResolver {
/Users/admin/builder/spi-builder-workspace/Sources/Ciao/Logger.swift:34:12: warning: var 'LoggerLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public var LoggerLevel = Level.verbose
| |- warning: var 'LoggerLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'LoggerLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'LoggerLevel' 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
35 |
36 | struct Logger {
/Users/admin/builder/spi-builder-workspace/Sources/Ciao/Logger.swift:37:24: warning: static property 'dateFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | struct Logger {
37 | private static var dateFormat = "yyyy-MM-dd hh:mm:ssSSS"
| |- warning: static property 'dateFormat' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormat' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormat' 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
38 | private static var dateFormatter: DateFormatter {
39 | let formatter = DateFormatter()
Build complete! (7.32s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Ciao",
"name" : "Ciao",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Ciao",
"targets" : [
"Ciao"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CiaoTests",
"module_type" : "SwiftTarget",
"name" : "CiaoTests",
"path" : "Tests/CiaoTests",
"sources" : [
"CiaoBrowserTests.swift",
"CiaoServerTests.swift",
"TestWithExpectation.swift"
],
"target_dependencies" : [
"Ciao"
],
"type" : "test"
},
{
"c99name" : "Ciao",
"module_type" : "SwiftTarget",
"name" : "Ciao",
"path" : "Sources/Ciao",
"product_memberships" : [
"Ciao"
],
"sources" : [
"CiaoBrowser.swift",
"CiaoResolver.swift",
"CiaoServer.swift",
"Logger.swift",
"NetServiceExtension.swift",
"ServiceType.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.