Build Information
Successful build of Symbolic with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/llvm-swift/symbolic.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/llvm-swift/symbolic
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 076fbd3 Merge pull request #1 from segiddins/patch-1
Cloned https://github.com/llvm-swift/symbolic.git
Revision (git rev-parse @):
076fbd317c880af5ee622633c0b1a9386e2e16bc
SUCCESS checkout https://github.com/llvm-swift/symbolic.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/llvm-swift/symbolic.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[1/3] Compiling GlibcDlfcnShim.c
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/5] Emitting module Symbolic
/Users/admin/builder/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:36:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct LoadFlags: OptionSet {
| `- note: consider making struct 'LoadFlags' conform to the 'Sendable' protocol
31 | public let rawValue: Int32
32 |
:
34 | /// specified. Symbols defined in this library are not made available to
35 | /// resolve references in subsequently loaded libraries.
36 | public static let local = LoadFlags(rawValue: RTLD_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
37 |
38 | /// The symbols defined by this library will be made available for symbol
/Users/admin/builder/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:40:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct LoadFlags: OptionSet {
| `- note: consider making struct 'LoadFlags' conform to the 'Sendable' protocol
31 | public let rawValue: Int32
32 |
:
38 | /// The symbols defined by this library will be made available for symbol
39 | /// resolution of subsequently loaded libraries.
40 | public static let global = LoadFlags(rawValue: RTLD_GLOBAL)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' 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
41 |
42 | /// Don't load the library. This can be used to test if the library is
/Users/admin/builder/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:48:23: warning: static property 'noLoad' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct LoadFlags: OptionSet {
| `- note: consider making struct 'LoadFlags' conform to the 'Sendable' protocol
31 | public let rawValue: Int32
32 |
:
46 | /// was previously loaded with RTLD_LOCAL can be reopened with
47 | /// `[.noLoad, .global]`. This flag is not specified in POSIX.1-2001.
48 | public static let noLoad = LoadFlags(rawValue: RTLD_NOLOAD)
| |- warning: static property 'noLoad' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noLoad' 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
49 |
50 | /// Do not unload the library during dlclose(). Consequently, the library's
/Users/admin/builder/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:53:23: warning: static property 'noDelete' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct LoadFlags: OptionSet {
| `- note: consider making struct 'LoadFlags' conform to the 'Sendable' protocol
31 | public let rawValue: Int32
32 |
:
51 | /// static variables are not reinitialized if the library is reloaded with
52 | /// dlopen() at a later time. This flag is not specified in POSIX.1-2001.
53 | public static let noDelete = LoadFlags(rawValue: RTLD_NODELETE)
| |- warning: static property 'noDelete' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noDelete' 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 |
55 | /// Initalizes a set of flags with a given raw integer value.
[5/5] Compiling Symbolic Symbolic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:36:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct LoadFlags: OptionSet {
| `- note: consider making struct 'LoadFlags' conform to the 'Sendable' protocol
31 | public let rawValue: Int32
32 |
:
34 | /// specified. Symbols defined in this library are not made available to
35 | /// resolve references in subsequently loaded libraries.
36 | public static let local = LoadFlags(rawValue: RTLD_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
37 |
38 | /// The symbols defined by this library will be made available for symbol
/Users/admin/builder/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:40:23: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct LoadFlags: OptionSet {
| `- note: consider making struct 'LoadFlags' conform to the 'Sendable' protocol
31 | public let rawValue: Int32
32 |
:
38 | /// The symbols defined by this library will be made available for symbol
39 | /// resolution of subsequently loaded libraries.
40 | public static let global = LoadFlags(rawValue: RTLD_GLOBAL)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'global' 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
41 |
42 | /// Don't load the library. This can be used to test if the library is
/Users/admin/builder/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:48:23: warning: static property 'noLoad' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct LoadFlags: OptionSet {
| `- note: consider making struct 'LoadFlags' conform to the 'Sendable' protocol
31 | public let rawValue: Int32
32 |
:
46 | /// was previously loaded with RTLD_LOCAL can be reopened with
47 | /// `[.noLoad, .global]`. This flag is not specified in POSIX.1-2001.
48 | public static let noLoad = LoadFlags(rawValue: RTLD_NOLOAD)
| |- warning: static property 'noLoad' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noLoad' 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
49 |
50 | /// Do not unload the library during dlclose(). Consequently, the library's
/Users/admin/builder/spi-builder-workspace/Sources/Symbolic/Symbolic.swift:53:23: warning: static property 'noDelete' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct LoadFlags: OptionSet {
| `- note: consider making struct 'LoadFlags' conform to the 'Sendable' protocol
31 | public let rawValue: Int32
32 |
:
51 | /// static variables are not reinitialized if the library is reloaded with
52 | /// dlopen() at a later time. This flag is not specified in POSIX.1-2001.
53 | public static let noDelete = LoadFlags(rawValue: RTLD_NODELETE)
| |- warning: static property 'noDelete' is not concurrency-safe because non-'Sendable' type 'SharedObject.LoadFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noDelete' 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 |
55 | /// Initalizes a set of flags with a given raw integer value.
Build complete! (15.84s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Symbolic",
"name" : "Symbolic",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Symbolic",
"targets" : [
"Symbolic"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SymbolicTests",
"module_type" : "SwiftTarget",
"name" : "SymbolicTests",
"path" : "Tests/SymbolicTests",
"sources" : [
"SymbolicTests.swift"
],
"target_dependencies" : [
"Symbolic"
],
"type" : "test"
},
{
"c99name" : "Symbolic",
"module_type" : "SwiftTarget",
"name" : "Symbolic",
"path" : "Sources/Symbolic",
"product_memberships" : [
"Symbolic"
],
"sources" : [
"Symbolic.swift"
],
"target_dependencies" : [
"GlibcDlfcnShim"
],
"type" : "library"
},
{
"c99name" : "GlibcDlfcnShim",
"module_type" : "ClangTarget",
"name" : "GlibcDlfcnShim",
"path" : "Sources/GlibcDlfcnShim",
"product_memberships" : [
"Symbolic"
],
"sources" : [
"src/GlibcDlfcnShim.c"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.