Build Information
Successful build of BinaryCodable, reference 0.3.1 (aebaa3
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 05:22:13 UTC.
Swift 6 data race errors: 2
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/jverkoey/BinaryCodable.git
Reference: 0.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jverkoey/BinaryCodable
* tag 0.3.1 -> FETCH_HEAD
HEAD is now at aebaa30 Merge branch 'release-candidate' into stable
Cloned https://github.com/jverkoey/BinaryCodable.git
Revision (git rev-parse @):
aebaa30f1b73c5c45c374d251029b8bd68bde755
SUCCESS checkout https://github.com/jverkoey/BinaryCodable.git at 0.3.1
========================================
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": "binarycodable",
"name": "BinaryCodable",
"url": "https://github.com/jverkoey/BinaryCodable.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BinaryCodable",
"dependencies": [
]
}
]
}
Fetching https://github.com/jverkoey/BinaryCodable.git
[1/762] Fetching binarycodable
Fetched https://github.com/jverkoey/BinaryCodable.git from cache (0.77s)
Creating working copy for https://github.com/jverkoey/BinaryCodable.git
Working copy of https://github.com/jverkoey/BinaryCodable.git resolved at 0.3.1 (aebaa30)
warning: '.resolve-product-dependencies': dependency 'binarycodable' 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/jverkoey/BinaryCodable.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/10] Compiling BinaryCodable BinaryDataDecoder.swift
[4/10] Compiling BinaryCodable BinaryEncodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/BinaryCodable/BinaryEncodable.swift:74:8: warning: associated value 'incompatibleStringEncoding' of 'Sendable'-conforming enum 'BinaryEncodingError' has non-sendable type 'BinaryEncodingError.Context'; this is an error in the Swift 6 language mode
50 | The context in which the error occurred.
51 | */
52 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
53 |
54 | /**
:
72 | As an associated value, this case contains the context for debugging.
73 | */
74 | case incompatibleStringEncoding(Context)
| `- warning: associated value 'incompatibleStringEncoding' of 'Sendable'-conforming enum 'BinaryEncodingError' has non-sendable type 'BinaryEncodingError.Context'; this is an error in the Swift 6 language mode
75 | }
76 |
[5/10] Emitting module BinaryCodable
/Users/admin/builder/spi-builder-workspace/Sources/BinaryCodable/BinaryDecodable.swift:82:8: warning: associated value 'dataCorrupted' of 'Sendable'-conforming enum 'BinaryDecodingError' has non-sendable type 'BinaryDecodingError.Context'; this is an error in the Swift 6 language mode
58 | The context in which the error occurred.
59 | */
60 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
61 |
62 | /**
:
80 | As an associated value, this case contains the context for debugging.
81 | */
82 | case dataCorrupted(Context)
| `- warning: associated value 'dataCorrupted' of 'Sendable'-conforming enum 'BinaryDecodingError' has non-sendable type 'BinaryDecodingError.Context'; this is an error in the Swift 6 language mode
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/Sources/BinaryCodable/BinaryEncodable.swift:74:8: warning: associated value 'incompatibleStringEncoding' of 'Sendable'-conforming enum 'BinaryEncodingError' has non-sendable type 'BinaryEncodingError.Context'; this is an error in the Swift 6 language mode
50 | The context in which the error occurred.
51 | */
52 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
53 |
54 | /**
:
72 | As an associated value, this case contains the context for debugging.
73 | */
74 | case incompatibleStringEncoding(Context)
| `- warning: associated value 'incompatibleStringEncoding' of 'Sendable'-conforming enum 'BinaryEncodingError' has non-sendable type 'BinaryEncodingError.Context'; this is an error in the Swift 6 language mode
75 | }
76 |
[6/10] Compiling BinaryCodable ByteRepresentations.swift
[7/10] Compiling BinaryCodable BufferedData.swift
[8/10] Compiling BinaryCodable BinaryCodable.swift
[9/10] Compiling BinaryCodable BinaryDataEncoder.swift
[10/10] Compiling BinaryCodable BinaryDecodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/BinaryCodable/BinaryDecodable.swift:82:8: warning: associated value 'dataCorrupted' of 'Sendable'-conforming enum 'BinaryDecodingError' has non-sendable type 'BinaryDecodingError.Context'; this is an error in the Swift 6 language mode
58 | The context in which the error occurred.
59 | */
60 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
61 |
62 | /**
:
80 | As an associated value, this case contains the context for debugging.
81 | */
82 | case dataCorrupted(Context)
| `- warning: associated value 'dataCorrupted' of 'Sendable'-conforming enum 'BinaryDecodingError' has non-sendable type 'BinaryDecodingError.Context'; this is an error in the Swift 6 language mode
83 | }
84 |
Build complete! (9.99s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BinaryCodable",
"name" : "BinaryCodable",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "BinaryCodable",
"targets" : [
"BinaryCodable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BinaryCodableTests",
"module_type" : "SwiftTarget",
"name" : "BinaryCodableTests",
"path" : "Tests/BinaryCodableTests",
"sources" : [
"ArrayDecoderTests.swift",
"ArrayEncoderTests.swift",
"BinaryFloatingPoint+bytes.swift",
"BufferedDataTests.swift",
"DecodeRemainderTests.swift",
"FixedWidthInteger+bytes.swift",
"GIFHeaderTests.swift",
"LengthEncodedPacketDecoderTests.swift",
"LengthEncodedPacketEncoderTests.swift",
"MisalignedDecoderTests.swift"
],
"target_dependencies" : [
"BinaryCodable"
],
"type" : "test"
},
{
"c99name" : "BinaryCodable",
"module_type" : "SwiftTarget",
"name" : "BinaryCodable",
"path" : "Sources/BinaryCodable",
"product_memberships" : [
"BinaryCodable"
],
"sources" : [
"BinaryCodable.swift",
"BinaryDataCoders/BinaryDataDecoder.swift",
"BinaryDataCoders/BinaryDataEncoder.swift",
"BinaryDataCoders/BufferedData.swift",
"BinaryDataCoders/ByteRepresentations.swift",
"BinaryDecodable.swift",
"BinaryEncodable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.