Build Information
Successful build of swift-msgpack with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
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/nnabeyang/swift-msgpack.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nnabeyang/swift-msgpack
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9bc0769 Fix .swift-version
Cloned https://github.com/nnabeyang/swift-msgpack.git
Revision (git rev-parse @):
9bc076947017db027368358a5b1fd49f7e5b2a2b
SUCCESS checkout https://github.com/nnabeyang/swift-msgpack.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/nnabeyang/swift-msgpack.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
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/8] Write sources
[3/8] Write example-entitlement.plist
[4/8] Write swift-version-6F35C1178C84523A.txt
[6/14] Compiling SwiftMsgpack MsgPackTimestamp.swift
[7/14] Compiling SwiftMsgpack MsgPackScanner.swift
[8/14] Compiling SwiftMsgpack AnyCodable.swift
[9/14] Compiling SwiftMsgpack MsgPackEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgpack/MsgPackEncoder.swift:15:27: warning: static property 'str8FormatSupport' is not concurrency-safe because non-'Sendable' type 'MsgPackEncoder.OutputOption' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | open class MsgPackEncoder {
8 | public struct OutputOption: OptionSet {
| `- note: consider making struct 'OutputOption' conform to the 'Sendable' protocol
9 | public let rawValue: UInt
10 |
:
13 | }
14 |
15 | public static let str8FormatSupport = OutputOption(rawValue: 1 << 0)
| |- warning: static property 'str8FormatSupport' is not concurrency-safe because non-'Sendable' type 'MsgPackEncoder.OutputOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'str8FormatSupport' 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
16 | }
17 |
[10/14] Compiling SwiftMsgpack MsgPackDecoder.swift
[11/14] Emitting module SwiftMsgpack
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsgpack/MsgPackEncoder.swift:15:27: warning: static property 'str8FormatSupport' is not concurrency-safe because non-'Sendable' type 'MsgPackEncoder.OutputOption' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | open class MsgPackEncoder {
8 | public struct OutputOption: OptionSet {
| `- note: consider making struct 'OutputOption' conform to the 'Sendable' protocol
9 | public let rawValue: UInt
10 |
:
13 | }
14 |
15 | public static let str8FormatSupport = OutputOption(rawValue: 1 << 0)
| |- warning: static property 'str8FormatSupport' is not concurrency-safe because non-'Sendable' type 'MsgPackEncoder.OutputOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'str8FormatSupport' 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
16 | }
17 |
[12/16] Compiling example main.swift
[13/16] Emitting module example
[13/16] Write Objects.LinkFileList
[14/16] Linking example
[15/16] Applying example
Build complete! (48.79s)
Fetching https://github.com/nicklockwood/SwiftFormat
[1/38425] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (24.16s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.53.8 (0.72s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.53.8
Build complete.
{
"dependencies" : [
{
"identity" : "swiftformat",
"requirement" : {
"exact" : [
"0.53.8"
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "swift-msgpack",
"name" : "swift-msgpack",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftMsgpack",
"targets" : [
"SwiftMsgpack"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "example",
"targets" : [
"example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "example",
"module_type" : "SwiftTarget",
"name" : "example",
"path" : "Example",
"product_memberships" : [
"example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftMsgpack"
],
"type" : "executable"
},
{
"c99name" : "SwiftMsgpackTests",
"module_type" : "SwiftTarget",
"name" : "SwiftMsgpackTests",
"path" : "Tests/SwiftMsgpackTests",
"sources" : [
"DecodeTests.swift",
"EncodeStr8UnsupportTests.swift",
"EncodeTests.swift"
],
"target_dependencies" : [
"SwiftMsgpack"
],
"type" : "test"
},
{
"c99name" : "SwiftMsgpack",
"module_type" : "SwiftTarget",
"name" : "SwiftMsgpack",
"path" : "Sources/SwiftMsgpack",
"product_memberships" : [
"SwiftMsgpack",
"example"
],
"sources" : [
"AnyCodable.swift",
"MsgPackDecoder.swift",
"MsgPackEncoder.swift",
"MsgPackScanner.swift",
"MsgPackTimestamp.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.