Build Information
Successful build of InternetProtocols, reference main (ce8895
), with Swift 6.0 for Linux on 5 Nov 2024 14:54:32 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/InternetProtocols.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/OperatorFoundation/InternetProtocols
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ce88950 cleanup
Cloned https://github.com/OperatorFoundation/InternetProtocols.git
Revision (git rev-parse @):
ce889505e2714e152b7fbc2bf9b3a345cd670615
SUCCESS checkout https://github.com/OperatorFoundation/InternetProtocols.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/OperatorFoundation/InternetProtocols.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/OperatorFoundation/Bits
[1/122] Fetching bits
Fetched https://github.com/OperatorFoundation/Bits from cache (0.23s)
Fetching https://github.com/OperatorFoundation/Datable.git
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.23s)
Fetching https://github.com/OperatorFoundation/Net.git
[2/105] Fetching net
Fetched https://github.com/OperatorFoundation/Net.git from cache (0.19s)
Fetching https://github.com/OperatorFoundation/SwiftHexTools.git
[1/96] Fetching swifthextools
Fetched https://github.com/OperatorFoundation/SwiftHexTools.git from cache (0.17s)
Fetching https://github.com/OperatorFoundation/NetworkLinux
[1/199] Fetching networklinux
Fetched https://github.com/OperatorFoundation/NetworkLinux from cache (0.18s)
Fetching https://github.com/OperatorFoundation/BlueSocket.git
[1/2764] Fetching bluesocket
Fetched https://github.com/OperatorFoundation/BlueSocket.git from cache (0.80s)
Fetching https://github.com/apple/swift-argument-parser
[1/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.71s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.39s)
Creating working copy for https://github.com/OperatorFoundation/Datable.git
Working copy of https://github.com/OperatorFoundation/Datable.git resolved at main (1186348)
Creating working copy for https://github.com/OperatorFoundation/BlueSocket.git
Working copy of https://github.com/OperatorFoundation/BlueSocket.git resolved at main (5a936a3)
Creating working copy for https://github.com/OperatorFoundation/Bits
Working copy of https://github.com/OperatorFoundation/Bits resolved at main (cc7079e)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/OperatorFoundation/Net.git
Working copy of https://github.com/OperatorFoundation/Net.git resolved at main (e49f54a)
Creating working copy for https://github.com/OperatorFoundation/SwiftHexTools.git
Working copy of https://github.com/OperatorFoundation/SwiftHexTools.git resolved at main (3d4b5a9)
Creating working copy for https://github.com/OperatorFoundation/NetworkLinux
Working copy of https://github.com/OperatorFoundation/NetworkLinux resolved at main (2c563f2)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/9] Write sources
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/51] Emitting module Datable
[11/55] Emitting module SwiftHexTools
[12/55] Compiling SwiftHexTools SwiftHexTools.swift
[13/56] Compiling Datable Int+MaybeDatable.swift
[14/56] Compiling Datable Int+MaybeIntable.swift
[15/56] Compiling Datable Int+Stringable.swift
[16/56] Compiling Datable Intable.swift
[17/56] Compiling Datable MaybeDatable.swift
[18/56] Compiling Datable Datable.swift
[19/56] Compiling Datable DatableConfig.swift
[20/56] Compiling Datable Double+MaybeDatable.swift
[21/56] Compiling Datable Double+Stringable.swift
[22/56] Compiling Datable File.swift
[24/56] Compiling Datable Data+ExpressibleByStringLiteral.swift
[25/56] Compiling Datable Data+Floatable.swift
[26/56] Compiling Datable Data+MaybeIntable.swift
[27/56] Compiling Datable Data+MaybeNetworkIntable.swift
[28/56] Compiling Datable Data+Stringable.swift
[29/56] Compiling Datable MaybeIntable.swift
[30/56] Compiling Datable MaybeNetworkIntable.swift
[31/56] Compiling Datable NetworkDatable.swift
[32/56] Compiling Datable NetworkIntable.swift
[33/56] Compiling Datable String+Arrayable.swift
[34/56] Compiling Datable String+Datable.swift
[35/56] Compiling Datable String+Intable.swift
[36/56] Compiling Datable Stringable.swift
[37/56] Compiling Socket Socket.swift
[38/56] Compiling Socket Socket+Hashable.swift
[39/56] Compiling Socket SocketProtocols.swift
[40/56] Compiling Socket SocketUtils.swift
[41/56] Emitting module Socket
[42/56] Compiling Socket Socket+Equatable.swift
[43/57] Compiling Datable Arrayable.swift
[44/57] Compiling Datable CSVable.swift
[45/57] Compiling Datable Data+Arrayable.swift
[46/57] Compiling Datable Data+Base64.swift
[47/57] Compiling Datable Data+Datable.swift
[49/57] Compiling Datable Float+Floatable.swift
[50/57] Compiling Datable Float+MaybeDatable.swift
[51/57] Compiling Datable Float+MaybeIntable.swift
[52/57] Compiling Datable Floatable.swift
[53/57] Compiling Datable Int+Floatable.swift
[54/72] Compiling NetworkLinux NWProtocol.swift
[55/72] Compiling NetworkLinux NWProtocolDefinition.swift
[56/72] Compiling NetworkLinux NWProtocolMetadata.swift
[57/72] Compiling NetworkLinux NWProtocolOptions.swift
[58/73] Compiling NetworkLinux NWProtocolTCP.swift
[59/73] Compiling NetworkLinux NWProtocolTLS.swift
[60/73] Compiling NetworkLinux NWError.swift
[61/73] Compiling NetworkLinux NWInterface.swift
[62/73] Compiling NetworkLinux NWListener.swift
[63/73] Compiling NetworkLinux NWParameters.swift
[64/73] Compiling NetworkLinux NWProtocolUDP.swift
[65/73] Compiling NetworkLinux NWConnection.swift
[66/73] Compiling NetworkLinux NWEndpoint.swift
[67/73] Emitting module NetworkLinux
[68/73] Compiling NetworkLinux IPv4Address.swift
[69/73] Compiling NetworkLinux IPv6Address.swift
[71/74] Compiling Datable StringableArray+CSVable.swift
[72/74] Compiling Datable UInt+Datable.swift
[73/74] Compiling Datable UInt+MaybeNetworkDatable.swift
[74/74] Compiling Datable UInt+Stringable.swift
[76/85] Compiling Net Network+Stringable.swift
[77/85] Compiling Net Network+MaybeDatable.swift
[78/85] Compiling Net Net.swift
[79/85] Compiling Net Network+Codable.swift
[80/85] Emitting module Net
[81/85] Compiling Net Ipify.swift
[83/86] Compiling Bits SimpleBits+MaybeIntable.swift
[84/86] Emitting module Bits
[85/86] Compiling Bits Bits.swift
[86/86] Compiling Bits Bits+MaybeIntable.swift
[88/95] Compiling InternetProtocols TCP.swift
/host/spi-builder-workspace/Sources/InternetProtocols/TCP.swift:14:16: warning: static property 'tcpDataOffsetNoOptions' is not concurrency-safe because non-'Sendable' type 'Bits?' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public struct TCP: Codable
13 | {
14 | static let tcpDataOffsetNoOptions: Bits! = Bits(byte: 5, droppingFromLeft: 4)
| `- warning: static property 'tcpDataOffsetNoOptions' is not concurrency-safe because non-'Sendable' type 'Bits?' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | public let sourcePort: UInt16 //2 bytes
/host/spi-builder-workspace/.build/checkouts/Bits/Sources/Bits/Bits.swift:250:15: note: struct 'Bits' does not conform to the 'Sendable' protocol
248 |
249 | // Bits allows for packing and unpacking of both bytes and bits in relation to an array of bytes of arbitrary length
250 | public struct Bits: MaybeDatable, Codable
| `- note: struct 'Bits' does not conform to the 'Sendable' protocol
251 | {
252 | public var buffer: Data
/host/spi-builder-workspace/Sources/InternetProtocols/TCP.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Bits'
6 | //
7 |
8 | import Bits
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Bits'
9 | import Datable
10 | import Foundation
:
12 | public struct TCP: Codable
13 | {
14 | static let tcpDataOffsetNoOptions: Bits! = Bits(byte: 5, droppingFromLeft: 4)
| |- note: annotate 'tcpDataOffsetNoOptions' 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
15 |
16 | public let sourcePort: UInt16 //2 bytes
[89/95] Compiling InternetProtocols SequenceNumber.swift
/host/spi-builder-workspace/Sources/InternetProtocols/SequenceNumber.swift:13:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'SequenceNumber' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct SequenceNumber: Equatable, Comparable, Datable, CustomStringConvertible, CustomDebugStringConvertible
| `- note: consider making struct 'SequenceNumber' conform to the 'Sendable' protocol
12 | {
13 | static public let max: SequenceNumber = SequenceNumber(UInt32.max - 1)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'SequenceNumber' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' 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
14 |
15 | static public func ==(_ x: SequenceNumber, _ y: SequenceNumber) -> Bool
[90/96] Compiling InternetProtocols InternetProtocols.swift
[91/96] Compiling InternetProtocols IPv6.swift
[92/96] Compiling InternetProtocols IPv4.swift
[93/96] Compiling InternetProtocols ICMP.swift
[94/96] Compiling InternetProtocols Ethernet.swift
[95/96] Emitting module InternetProtocols
/host/spi-builder-workspace/Sources/InternetProtocols/SequenceNumber.swift:13:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'SequenceNumber' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct SequenceNumber: Equatable, Comparable, Datable, CustomStringConvertible, CustomDebugStringConvertible
| `- note: consider making struct 'SequenceNumber' conform to the 'Sendable' protocol
12 | {
13 | static public let max: SequenceNumber = SequenceNumber(UInt32.max - 1)
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'SequenceNumber' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' 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
14 |
15 | static public func ==(_ x: SequenceNumber, _ y: SequenceNumber) -> Bool
/host/spi-builder-workspace/Sources/InternetProtocols/TCP.swift:14:16: warning: static property 'tcpDataOffsetNoOptions' is not concurrency-safe because non-'Sendable' type 'Bits?' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public struct TCP: Codable
13 | {
14 | static let tcpDataOffsetNoOptions: Bits! = Bits(byte: 5, droppingFromLeft: 4)
| `- warning: static property 'tcpDataOffsetNoOptions' is not concurrency-safe because non-'Sendable' type 'Bits?' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | public let sourcePort: UInt16 //2 bytes
/host/spi-builder-workspace/.build/checkouts/Bits/Sources/Bits/Bits.swift:250:15: note: struct 'Bits' does not conform to the 'Sendable' protocol
248 |
249 | // Bits allows for packing and unpacking of both bytes and bits in relation to an array of bytes of arbitrary length
250 | public struct Bits: MaybeDatable, Codable
| `- note: struct 'Bits' does not conform to the 'Sendable' protocol
251 | {
252 | public var buffer: Data
/host/spi-builder-workspace/Sources/InternetProtocols/TCP.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Bits'
6 | //
7 |
8 | import Bits
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Bits'
9 | import Datable
10 | import Foundation
:
12 | public struct TCP: Codable
13 | {
14 | static let tcpDataOffsetNoOptions: Bits! = Bits(byte: 5, droppingFromLeft: 4)
| |- note: annotate 'tcpDataOffsetNoOptions' 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
15 |
16 | public let sourcePort: UInt16 //2 bytes
[96/96] Compiling InternetProtocols UDP.swift
Build complete! (34.29s)
Build complete.
{
"dependencies" : [
{
"identity" : "bits",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/OperatorFoundation/Bits"
},
{
"identity" : "datable",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/OperatorFoundation/Datable.git"
},
{
"identity" : "net",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/OperatorFoundation/Net.git"
},
{
"identity" : "swifthextools",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/OperatorFoundation/SwiftHexTools.git"
}
],
"manifest_display_name" : "InternetProtocols",
"name" : "InternetProtocols",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "InternetProtocols",
"targets" : [
"InternetProtocols"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "InternetProtocolsTests",
"module_type" : "SwiftTarget",
"name" : "InternetProtocolsTests",
"path" : "Tests/InternetProtocolsTests",
"product_dependencies" : [
"SwiftHexTools"
],
"sources" : [
"InternetProtocolsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"InternetProtocols"
],
"type" : "test"
},
{
"c99name" : "InternetProtocols",
"module_type" : "SwiftTarget",
"name" : "InternetProtocols",
"path" : "Sources/InternetProtocols",
"product_dependencies" : [
"Bits",
"Datable",
"Net",
"SwiftHexTools"
],
"product_memberships" : [
"InternetProtocols"
],
"sources" : [
"Ethernet.swift",
"ICMP.swift",
"IPv4.swift",
"IPv6.swift",
"InternetProtocols.swift",
"SequenceNumber.swift",
"TCP.swift",
"UDP.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.