Build Information
Successful build of ObjCDump, reference main (1e91df
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 07:03:03 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/swift-objc-dump.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/p-x9/swift-objc-dump
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1e91dfd Merge pull request #14 from p-x9/feature/support-linux
Cloned https://github.com/p-x9/swift-objc-dump.git
Revision (git rev-parse @):
1e91dfd4c332f7015f4c46f99df8a53fbb495e20
SUCCESS checkout https://github.com/p-x9/swift-objc-dump.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/p-x9/swift-objc-dump.git
https://github.com/p-x9/swift-objc-dump.git
{
"dependencies" : [
],
"manifest_display_name" : "ObjCDump",
"name" : "ObjCDump",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ObjCDump",
"targets" : [
"ObjCDump"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ObjCTypeDecodeKitTests",
"module_type" : "SwiftTarget",
"name" : "ObjCTypeDecodeKitTests",
"path" : "Tests/ObjCTypeDecodeKitTests",
"sources" : [
"ObjCMethodTypeDecodeTests.swift",
"ObjCTypeDecodeKitTests.swift",
"ObjCTypeEncodeTests.swift"
],
"target_dependencies" : [
"ObjCTypeDecodeKit"
],
"type" : "test"
},
{
"c99name" : "ObjCTypeDecodeKit",
"module_type" : "SwiftTarget",
"name" : "ObjCTypeDecodeKit",
"path" : "Sources/ObjCTypeDecodeKit",
"product_memberships" : [
"ObjCDump"
],
"sources" : [
"Extension/String+.swift",
"Model/Node.swift",
"Model/ObjCField.swift",
"Model/ObjCMethodType.swift",
"Model/ObjCModifier.swift",
"Model/ObjCPropertyAttribute.swift",
"Model/ObjCType.swift",
"Model/types.swift",
"ObjCMethodTypeDecoder.swift",
"ObjCPropertyTypeDecoder.swift",
"ObjCTypeDecoder.swift",
"Protocol/ObjCTypeCodable.swift"
],
"type" : "library"
},
{
"c99name" : "ObjCDumpTests",
"module_type" : "SwiftTarget",
"name" : "ObjCDumpTests",
"path" : "Tests/ObjCDumpTests",
"sources" : [
"ObjCDumpTests.swift"
],
"target_dependencies" : [
"ObjCDump"
],
"type" : "test"
},
{
"c99name" : "ObjCDump",
"module_type" : "SwiftTarget",
"name" : "ObjCDump",
"path" : "Sources/ObjCDump",
"product_memberships" : [
"ObjCDump"
],
"sources" : [
"Extension/ObjCType+.swift",
"Model/ObjCCategoryInfo.swift",
"Model/ObjCClassInfo.swift",
"Model/ObjCIvarInfo.swift",
"Model/ObjCMethodInfo.swift",
"Model/ObjCPropertyInfo.swift",
"Model/ObjCProtocolInfo.swift",
"ObjCDump.swift"
],
"target_dependencies" : [
"ObjCTypeDecodeKit"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/15] Compiling ObjCTypeDecodeKit ObjCTypeDecoder.swift
[5/15] Compiling ObjCTypeDecodeKit ObjCPropertyTypeDecoder.swift
[6/15] Compiling ObjCTypeDecodeKit types.swift
/Users/admin/builder/spi-builder-workspace/Sources/ObjCTypeDecodeKit/Model/types.swift:13:5: warning: let 'simpleTypes' is not concurrency-safe because non-'Sendable' type '[Character : ObjCType]' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // ref: https://github.com/apple-oss-distributions/objc4/blob/01edf1705fbc3ff78a423cd21e03dfc21eb4d780/runtime/runtime.h#L1856
12 |
13 | let simpleTypes: [Character: ObjCType] = [
| |- warning: let 'simpleTypes' is not concurrency-safe because non-'Sendable' type '[Character : ObjCType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'simpleTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | "@": .object(name: nil),
15 | "#": .class,
/Users/admin/builder/spi-builder-workspace/Sources/ObjCTypeDecodeKit/Model/ObjCType.swift:11:22: note: consider making enum 'ObjCType' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public indirect enum ObjCType: Equatable {
| `- note: consider making enum 'ObjCType' conform to the 'Sendable' protocol
12 | case `class`
13 | case selector
/Users/admin/builder/spi-builder-workspace/Sources/ObjCTypeDecodeKit/Model/types.swift:39:5: warning: let 'modifiers' is not concurrency-safe because non-'Sendable' type '[Character : ObjCModifier]' may have shared mutable state; this is an error in the Swift 6 language mode
37 | ]
38 |
39 | let modifiers: [Character: ObjCModifier] = [
| |- warning: let 'modifiers' is not concurrency-safe because non-'Sendable' type '[Character : ObjCModifier]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'modifiers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | "A": .atomic, // #include <stdatomic.h>
41 | "j": .complex, // #include <complex.h>
/Users/admin/builder/spi-builder-workspace/Sources/ObjCTypeDecodeKit/Model/ObjCModifier.swift:11:13: note: consider making enum 'ObjCModifier' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum ObjCModifier: CaseIterable, Equatable {
| `- note: consider making enum 'ObjCModifier' conform to the 'Sendable' protocol
12 | case complex
13 | case atomic
[7/15] Compiling ObjCTypeDecodeKit String+.swift
[8/15] Compiling ObjCTypeDecodeKit Node.swift
[9/15] Emitting module ObjCTypeDecodeKit
/Users/admin/builder/spi-builder-workspace/Sources/ObjCTypeDecodeKit/Model/types.swift:13:5: warning: let 'simpleTypes' is not concurrency-safe because non-'Sendable' type '[Character : ObjCType]' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // ref: https://github.com/apple-oss-distributions/objc4/blob/01edf1705fbc3ff78a423cd21e03dfc21eb4d780/runtime/runtime.h#L1856
12 |
13 | let simpleTypes: [Character: ObjCType] = [
| |- warning: let 'simpleTypes' is not concurrency-safe because non-'Sendable' type '[Character : ObjCType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'simpleTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | "@": .object(name: nil),
15 | "#": .class,
/Users/admin/builder/spi-builder-workspace/Sources/ObjCTypeDecodeKit/Model/ObjCType.swift:11:22: note: consider making enum 'ObjCType' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public indirect enum ObjCType: Equatable {
| `- note: consider making enum 'ObjCType' conform to the 'Sendable' protocol
12 | case `class`
13 | case selector
/Users/admin/builder/spi-builder-workspace/Sources/ObjCTypeDecodeKit/Model/types.swift:39:5: warning: let 'modifiers' is not concurrency-safe because non-'Sendable' type '[Character : ObjCModifier]' may have shared mutable state; this is an error in the Swift 6 language mode
37 | ]
38 |
39 | let modifiers: [Character: ObjCModifier] = [
| |- warning: let 'modifiers' is not concurrency-safe because non-'Sendable' type '[Character : ObjCModifier]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'modifiers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | "A": .atomic, // #include <stdatomic.h>
41 | "j": .complex, // #include <complex.h>
/Users/admin/builder/spi-builder-workspace/Sources/ObjCTypeDecodeKit/Model/ObjCModifier.swift:11:13: note: consider making enum 'ObjCModifier' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum ObjCModifier: CaseIterable, Equatable {
| `- note: consider making enum 'ObjCModifier' conform to the 'Sendable' protocol
12 | case complex
13 | case atomic
[10/15] Compiling ObjCTypeDecodeKit ObjCModifier.swift
[11/15] Compiling ObjCTypeDecodeKit ObjCPropertyAttribute.swift
[12/15] Compiling ObjCTypeDecodeKit ObjCType.swift
[13/16] Compiling ObjCTypeDecodeKit ObjCMethodTypeDecoder.swift
[14/16] Compiling ObjCTypeDecodeKit ObjCField.swift
[15/16] Compiling ObjCTypeDecodeKit ObjCMethodType.swift
[16/16] Compiling ObjCTypeDecodeKit ObjCTypeCodable.swift
[17/25] Compiling ObjCDump ObjCDump.swift
[18/25] Compiling ObjCDump ObjCPropertyInfo.swift
[19/25] Compiling ObjCDump ObjCMethodInfo.swift
[20/25] Compiling ObjCDump ObjCIvarInfo.swift
[21/25] Compiling ObjCDump ObjCProtocolInfo.swift
[22/25] Compiling ObjCDump ObjCCategoryInfo.swift
[23/25] Compiling ObjCDump ObjCType+.swift
[24/25] Compiling ObjCDump ObjCClassInfo.swift
[25/25] Emitting module ObjCDump
Build complete! (8.19s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ObjCDump",
"name" : "ObjCDump",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ObjCDump",
"targets" : [
"ObjCDump"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ObjCTypeDecodeKitTests",
"module_type" : "SwiftTarget",
"name" : "ObjCTypeDecodeKitTests",
"path" : "Tests/ObjCTypeDecodeKitTests",
"sources" : [
"ObjCMethodTypeDecodeTests.swift",
"ObjCTypeDecodeKitTests.swift",
"ObjCTypeEncodeTests.swift"
],
"target_dependencies" : [
"ObjCTypeDecodeKit"
],
"type" : "test"
},
{
"c99name" : "ObjCTypeDecodeKit",
"module_type" : "SwiftTarget",
"name" : "ObjCTypeDecodeKit",
"path" : "Sources/ObjCTypeDecodeKit",
"product_memberships" : [
"ObjCDump"
],
"sources" : [
"Extension/String+.swift",
"Model/Node.swift",
"Model/ObjCField.swift",
"Model/ObjCMethodType.swift",
"Model/ObjCModifier.swift",
"Model/ObjCPropertyAttribute.swift",
"Model/ObjCType.swift",
"Model/types.swift",
"ObjCMethodTypeDecoder.swift",
"ObjCPropertyTypeDecoder.swift",
"ObjCTypeDecoder.swift",
"Protocol/ObjCTypeCodable.swift"
],
"type" : "library"
},
{
"c99name" : "ObjCDumpTests",
"module_type" : "SwiftTarget",
"name" : "ObjCDumpTests",
"path" : "Tests/ObjCDumpTests",
"sources" : [
"ObjCDumpTests.swift"
],
"target_dependencies" : [
"ObjCDump"
],
"type" : "test"
},
{
"c99name" : "ObjCDump",
"module_type" : "SwiftTarget",
"name" : "ObjCDump",
"path" : "Sources/ObjCDump",
"product_memberships" : [
"ObjCDump"
],
"sources" : [
"Extension/ObjCType+.swift",
"Model/ObjCCategoryInfo.swift",
"Model/ObjCClassInfo.swift",
"Model/ObjCIvarInfo.swift",
"Model/ObjCMethodInfo.swift",
"Model/ObjCPropertyInfo.swift",
"Model/ObjCProtocolInfo.swift",
"ObjCDump.swift"
],
"target_dependencies" : [
"ObjCTypeDecodeKit"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.