Build Information
Successful build of Hexaville, reference master (caaf74
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 17:22:50 UTC.
Swift 6 data race errors: 7
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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/noppoman/hexaville.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/noppoman/hexaville
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at caaf749 update release scripts
Cloned https://github.com/noppoman/hexaville.git
Revision (git rev-parse @):
caaf7497ea3a009b6093548b296d2fe1e68d8d60
SUCCESS checkout https://github.com/noppoman/hexaville.git at master
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/jpsim/Yams.git from cache
[1/5074] Fetching swiftcli
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (1.14s)
Fetched https://github.com/jpsim/Yams.git from cache (1.14s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (1.74s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 5.3.2 (0.66s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 5.3.2
========================================
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": "hexaville",
"name": "Hexaville",
"url": "https://github.com/noppoman/hexaville.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/hexaville",
"dependencies": [
{
"identity": "swiftcli",
"name": "SwiftCLI",
"url": "https://github.com/jakeheis/SwiftCLI.git",
"version": "5.3.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCLI",
"dependencies": [
]
},
{
"identity": "yams",
"name": "Yams",
"url": "https://github.com/jpsim/Yams.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/noppoman/hexaville.git
[1/1503] Fetching hexaville
Fetched https://github.com/noppoman/hexaville.git from cache (6.34s)
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/jakeheis/SwiftCLI.git from cache
Fetched https://github.com/jpsim/Yams.git from cache (0.49s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.49s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.55s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 5.3.3 (0.03s)
Creating working copy for https://github.com/noppoman/hexaville.git
Working copy of https://github.com/noppoman/hexaville.git resolved at master (caaf749)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 5.3.3
Found 2 product dependencies
- SwiftCLI
- Yams
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/noppoman/hexaville.git
https://github.com/noppoman/hexaville.git
{
"dependencies" : [
{
"identity" : "swiftcli",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jakeheis/SwiftCLI.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
}
],
"manifest_display_name" : "Hexaville",
"name" : "Hexaville",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "HexavilleCore",
"targets" : [
"HexavilleCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "hexaville",
"targets" : [
"Hexaville"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "HexavilleTests",
"module_type" : "SwiftTarget",
"name" : "HexavilleTests",
"path" : "Tests/HexavilleTests",
"sources" : [
"EventEmitterTests.swift",
"HexavilleFileTests.swift",
"SwiftVersionTests.swift"
],
"target_dependencies" : [
"HexavilleCore"
],
"type" : "test"
},
{
"c99name" : "HexavilleCore",
"module_type" : "SwiftTarget",
"name" : "HexavilleCore",
"path" : "Sources/HexavilleCore",
"product_dependencies" : [
"SwiftCLI",
"Yams"
],
"product_memberships" : [
"HexavilleCore",
"hexaville"
],
"sources" : [
"Cloud/AWS/AWSLambdaPackager.swift",
"Constant.swift",
"Error.swift",
"Events/EventEmitter.swift",
"Filesystem/FileManager.swift",
"Filesystem/Finder.swift",
"HexavilleFile/Docker.swift",
"HexavilleFile/HexavilleFile.swift",
"HexavilleFile/Swift.swift",
"HexavilleFile/SwiftVersion.swift",
"HexavilleFile/Version.swift",
"Posix/Mutex.swift",
"Process/Proc.swift",
"Process/Spawn.swift",
"Signal/SignalHandler.swift",
"SwiftBuilder/SwiftBuildEnvironmentProvider/DockerBuildEnvironmentProvider.swift",
"SwiftBuilder/SwiftBuildEnvironmentProvider/SwiftBuildEnvironmentProvider.swift",
"SwiftBuilder/SwiftBuilder.swift",
"Util/Hashids.swift"
],
"type" : "library"
},
{
"c99name" : "Hexaville",
"module_type" : "SwiftTarget",
"name" : "Hexaville",
"path" : "Sources/Hexaville",
"product_memberships" : [
"hexaville"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HexavilleCore"
],
"type" : "executable"
}
],
"tools_version" : "5.1"
}
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/15] Write sources
[2/15] Write hexaville-entitlement.plist
[5/15] Write swift-version-2F0A5646E1D333AE.txt
[6/36] Compiling reader.c
[7/36] Compiling writer.c
[7/36] Compiling api.c
[7/36] Compiling parser.c
[10/36] Compiling scanner.c
[11/36] Compiling emitter.c
[13/52] Compiling Yams YamlError.swift
[14/52] Compiling Yams Tag.swift
[15/53] Compiling Yams Node.Scalar.swift
[16/53] Compiling Yams Node.Sequence.swift
[17/53] Compiling Yams String+Yams.swift
[18/53] Compiling Yams Node.swift
[19/53] Compiling Yams Parser.swift
[20/53] Compiling Yams Emitter.swift
[21/53] Compiling Yams Encoder.swift
[22/53] Compiling SwiftCLI HelpMessageGenerator.swift
[23/53] Compiling SwiftCLI Input.swift
[25/55] Compiling SwiftCLI Task.swift
[28/55] Compiling Yams Constructor.swift
[29/55] Compiling Yams Decoder.swift
[30/55] Compiling SwiftCLI Option.swift
[31/55] Compiling SwiftCLI OptionGroup.swift
[32/55] Compiling Yams Mark.swift
[33/55] Compiling Yams Node.Mapping.swift
[34/55] Emitting module Yams
[35/55] Compiling SwiftCLI ArgumentList.swift
[36/55] Compiling SwiftCLI ArgumentListManipulator.swift
[37/55] Compiling SwiftCLI CLI.swift
[40/55] Compiling Yams Representer.swift
[42/55] Compiling Yams Resolver.swift
[45/55] Emitting module SwiftCLI
[50/55] Compiling Yams shim.swift
[51/55] Compiling SwiftCLI ValueBox.swift
[52/55] Compiling SwiftCLI VersionCommand.swift
[53/74] Emitting module HexavilleCore
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/HexavilleFile/SwiftVersion.swift:157:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SwiftDevelopmentSnapshot' to 'Hashable' by implementing 'hash(into:)' instead
155 |
156 | extension SwiftDevelopmentSnapshot: Hashable {
157 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SwiftDevelopmentSnapshot' to 'Hashable' by implementing 'hash(into:)' instead
158 | return (major << 8) | minor | patch | Int(date.timeIntervalSince1970)
159 | }
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/HexavilleFile/Version.swift:30:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Version' to 'Hashable' by implementing 'hash(into:)' instead
28 |
29 | extension VersionRepresentable {
30 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Version' to 'Hashable' by implementing 'hash(into:)' instead
31 | return (major << 8) | minor | patch
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Signal/SignalHandler.swift:17:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalEventEmitter' may have shared mutable state; this is an error in the Swift 6 language mode
14 | import Dispatch
15 |
16 | public class SignalEventEmitter: EventEmitter<SignalHandler.Signal> {
| `- note: class 'SignalEventEmitter' does not conform to the 'Sendable' protocol
17 | public static let shared = SignalEventEmitter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalEventEmitter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Signal/SignalHandler.swift:32:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalHandler' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public class SignalHandler {
| `- note: class 'SignalHandler' does not conform to the 'Sendable' protocol
21 |
22 | public enum Signal: Int32 {
:
30 | }
31 |
32 | public static let shared = SignalHandler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalHandler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | private var handlers: [() -> Void] = []
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:37:14: warning: static property 'MIN_ALPHABET_LENGTH' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | static let VERSION = "1.1.0"
36 |
37 | static var MIN_ALPHABET_LENGTH: Int = 16
| |- warning: static property 'MIN_ALPHABET_LENGTH' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MIN_ALPHABET_LENGTH' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MIN_ALPHABET_LENGTH' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | static var SEP_DIV: Double = 3.5
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:39:14: warning: static property 'SEP_DIV' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var MIN_ALPHABET_LENGTH: Int = 16
38 |
39 | static var SEP_DIV: Double = 3.5
| |- warning: static property 'SEP_DIV' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SEP_DIV' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SEP_DIV' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | static var GUARD_DIV: Double = 12
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:41:14: warning: static property 'GUARD_DIV' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | static var SEP_DIV: Double = 3.5
40 |
41 | static var GUARD_DIV: Double = 12
| |- warning: static property 'GUARD_DIV' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'GUARD_DIV' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'GUARD_DIV' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | static var ALPHABET: String = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:43:14: warning: static property 'ALPHABET' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | static var GUARD_DIV: Double = 12
42 |
43 | static var ALPHABET: String = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
| |- warning: static property 'ALPHABET' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ALPHABET' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ALPHABET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | static var SEPARATORS: String = "cfhistuCFHISTU"
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:45:14: warning: static property 'SEPARATORS' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | static var ALPHABET: String = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
44 |
45 | static var SEPARATORS: String = "cfhistuCFHISTU"
| |- warning: static property 'SEPARATORS' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SEPARATORS' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SEPARATORS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | }
[54/74] Compiling HexavilleCore Error.swift
[55/74] Compiling HexavilleCore EventEmitter.swift
[56/75] Compiling HexavilleCore Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/HexavilleFile/Version.swift:30:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Version' to 'Hashable' by implementing 'hash(into:)' instead
28 |
29 | extension VersionRepresentable {
30 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Version' to 'Hashable' by implementing 'hash(into:)' instead
31 | return (major << 8) | minor | patch
32 | }
[57/75] Compiling HexavilleCore Mutex.swift
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/HexavilleFile/Version.swift:30:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Version' to 'Hashable' by implementing 'hash(into:)' instead
28 |
29 | extension VersionRepresentable {
30 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Version' to 'Hashable' by implementing 'hash(into:)' instead
31 | return (major << 8) | minor | patch
32 | }
[58/75] Compiling HexavilleCore SignalHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Signal/SignalHandler.swift:17:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalEventEmitter' may have shared mutable state; this is an error in the Swift 6 language mode
14 | import Dispatch
15 |
16 | public class SignalEventEmitter: EventEmitter<SignalHandler.Signal> {
| `- note: class 'SignalEventEmitter' does not conform to the 'Sendable' protocol
17 | public static let shared = SignalEventEmitter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalEventEmitter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Signal/SignalHandler.swift:32:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalHandler' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public class SignalHandler {
| `- note: class 'SignalHandler' does not conform to the 'Sendable' protocol
21 |
22 | public enum Signal: Int32 {
:
30 | }
31 |
32 | public static let shared = SignalHandler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalHandler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | private var handlers: [() -> Void] = []
[59/75] Compiling HexavilleCore DockerBuildEnvironmentProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Signal/SignalHandler.swift:17:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalEventEmitter' may have shared mutable state; this is an error in the Swift 6 language mode
14 | import Dispatch
15 |
16 | public class SignalEventEmitter: EventEmitter<SignalHandler.Signal> {
| `- note: class 'SignalEventEmitter' does not conform to the 'Sendable' protocol
17 | public static let shared = SignalEventEmitter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalEventEmitter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Signal/SignalHandler.swift:32:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalHandler' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public class SignalHandler {
| `- note: class 'SignalHandler' does not conform to the 'Sendable' protocol
21 |
22 | public enum Signal: Int32 {
:
30 | }
31 |
32 | public static let shared = SignalHandler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalHandler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | private var handlers: [() -> Void] = []
[60/75] Compiling HexavilleCore Proc.swift
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:89:45: warning: cannot use inout expression here; argument 'outputPipe' must be a pointer that outlives the call to 'init(outputPipe:output:)'
87 |
88 | func watchStreams() {
89 | threadInfo = ThreadInfo(outputPipe: &outputPipe, output: output)
| |- warning: cannot use inout expression here; argument 'outputPipe' must be a pointer that outlives the call to 'init(outputPipe:output:)'
| |- note: implicit argument conversion from '[Int32]' to 'UnsafeMutablePointer<Int32>' produces a pointer valid only for the duration of the call to 'init(outputPipe:output:)'
| `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
90 | pthread_create(&tid, nil, { x in
91 | #if os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:111:12: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<Spawn.ThreadInfo>'; this is likely incorrect because 'Optional<Spawn.ThreadInfo>' may contain an object reference.
109 | dynamicBuffer.deallocate()
110 | return nil
111 | }, &threadInfo)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<Spawn.ThreadInfo>'; this is likely incorrect because 'Optional<Spawn.ThreadInfo>' may contain an object reference.
112 | }
113 | }
[61/75] Compiling HexavilleCore Spawn.swift
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:89:45: warning: cannot use inout expression here; argument 'outputPipe' must be a pointer that outlives the call to 'init(outputPipe:output:)'
87 |
88 | func watchStreams() {
89 | threadInfo = ThreadInfo(outputPipe: &outputPipe, output: output)
| |- warning: cannot use inout expression here; argument 'outputPipe' must be a pointer that outlives the call to 'init(outputPipe:output:)'
| |- note: implicit argument conversion from '[Int32]' to 'UnsafeMutablePointer<Int32>' produces a pointer valid only for the duration of the call to 'init(outputPipe:output:)'
| `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
90 | pthread_create(&tid, nil, { x in
91 | #if os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:111:12: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<Spawn.ThreadInfo>'; this is likely incorrect because 'Optional<Spawn.ThreadInfo>' may contain an object reference.
109 | dynamicBuffer.deallocate()
110 | return nil
111 | }, &threadInfo)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<Spawn.ThreadInfo>'; this is likely incorrect because 'Optional<Spawn.ThreadInfo>' may contain an object reference.
112 | }
113 | }
[62/75] Compiling HexavilleCore Docker.swift
[63/75] Compiling HexavilleCore HexavilleFile.swift
[64/75] Compiling HexavilleCore FileManager.swift
[65/75] Compiling HexavilleCore Finder.swift
[66/75] Compiling HexavilleCore Swift.swift
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/HexavilleFile/SwiftVersion.swift:157:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SwiftDevelopmentSnapshot' to 'Hashable' by implementing 'hash(into:)' instead
155 |
156 | extension SwiftDevelopmentSnapshot: Hashable {
157 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SwiftDevelopmentSnapshot' to 'Hashable' by implementing 'hash(into:)' instead
158 | return (major << 8) | minor | patch | Int(date.timeIntervalSince1970)
159 | }
[67/75] Compiling HexavilleCore SwiftVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/HexavilleFile/SwiftVersion.swift:157:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SwiftDevelopmentSnapshot' to 'Hashable' by implementing 'hash(into:)' instead
155 |
156 | extension SwiftDevelopmentSnapshot: Hashable {
157 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SwiftDevelopmentSnapshot' to 'Hashable' by implementing 'hash(into:)' instead
158 | return (major << 8) | minor | patch | Int(date.timeIntervalSince1970)
159 | }
[68/75] Compiling HexavilleCore SwiftBuildEnvironmentProvider.swift
[69/75] Compiling HexavilleCore SwiftBuilder.swift
[70/75] Compiling HexavilleCore AWSLambdaPackager.swift
[71/75] Compiling HexavilleCore Constant.swift
[72/75] Compiling HexavilleCore Hashids.swift
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:37:14: warning: static property 'MIN_ALPHABET_LENGTH' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | static let VERSION = "1.1.0"
36 |
37 | static var MIN_ALPHABET_LENGTH: Int = 16
| |- warning: static property 'MIN_ALPHABET_LENGTH' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MIN_ALPHABET_LENGTH' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MIN_ALPHABET_LENGTH' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | static var SEP_DIV: Double = 3.5
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:39:14: warning: static property 'SEP_DIV' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var MIN_ALPHABET_LENGTH: Int = 16
38 |
39 | static var SEP_DIV: Double = 3.5
| |- warning: static property 'SEP_DIV' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SEP_DIV' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SEP_DIV' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | static var GUARD_DIV: Double = 12
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:41:14: warning: static property 'GUARD_DIV' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | static var SEP_DIV: Double = 3.5
40 |
41 | static var GUARD_DIV: Double = 12
| |- warning: static property 'GUARD_DIV' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'GUARD_DIV' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'GUARD_DIV' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | static var ALPHABET: String = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:43:14: warning: static property 'ALPHABET' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | static var GUARD_DIV: Double = 12
42 |
43 | static var ALPHABET: String = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
| |- warning: static property 'ALPHABET' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ALPHABET' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ALPHABET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | static var SEPARATORS: String = "cfhistuCFHISTU"
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:45:14: warning: static property 'SEPARATORS' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | static var ALPHABET: String = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
44 |
45 | static var SEPARATORS: String = "cfhistuCFHISTU"
| |- warning: static property 'SEPARATORS' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SEPARATORS' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SEPARATORS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:92:9: warning: variable '_alphabet' was never mutated; consider changing to 'let' constant
90 |
91 | public init(salt: String!, minHashLength: UInt = 0, alphabet: String? = nil) {
92 | var _alphabet = (alphabet != nil) ? alphabet! : HashidsOptions.ALPHABET
| `- warning: variable '_alphabet' was never mutated; consider changing to 'let' constant
93 | var _seps = HashidsOptions.SEPARATORS
94 |
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:93:9: warning: variable '_seps' was never mutated; consider changing to 'let' constant
91 | public init(salt: String!, minHashLength: UInt = 0, alphabet: String? = nil) {
92 | var _alphabet = (alphabet != nil) ? alphabet! : HashidsOptions.ALPHABET
93 | var _seps = HashidsOptions.SEPARATORS
| `- warning: variable '_seps' was never mutated; consider changing to 'let' constant
94 |
95 | self.minHashLength = minHashLength
/Users/admin/builder/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:263:9: warning: variable 'hashes' was never mutated; consider changing to 'let' constant
261 | var alphabet = self.alphabet
262 |
263 | var hashes = hash.split(maxSplits: hash.count, omittingEmptySubsequences: false) {
| `- warning: variable 'hashes' was never mutated; consider changing to 'let' constant
264 | contains(self.guards, $0)
265 | }
[73/77] Emitting module Hexaville
[74/77] Compiling Hexaville main.swift
[74/77] Write Objects.LinkFileList
[75/77] Linking hexaville
[76/77] Applying hexaville
Build complete! (9.74s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftcli",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jakeheis/SwiftCLI.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
}
],
"manifest_display_name" : "Hexaville",
"name" : "Hexaville",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "HexavilleCore",
"targets" : [
"HexavilleCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "hexaville",
"targets" : [
"Hexaville"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "HexavilleTests",
"module_type" : "SwiftTarget",
"name" : "HexavilleTests",
"path" : "Tests/HexavilleTests",
"sources" : [
"EventEmitterTests.swift",
"HexavilleFileTests.swift",
"SwiftVersionTests.swift"
],
"target_dependencies" : [
"HexavilleCore"
],
"type" : "test"
},
{
"c99name" : "HexavilleCore",
"module_type" : "SwiftTarget",
"name" : "HexavilleCore",
"path" : "Sources/HexavilleCore",
"product_dependencies" : [
"SwiftCLI",
"Yams"
],
"product_memberships" : [
"HexavilleCore",
"hexaville"
],
"sources" : [
"Cloud/AWS/AWSLambdaPackager.swift",
"Constant.swift",
"Error.swift",
"Events/EventEmitter.swift",
"Filesystem/FileManager.swift",
"Filesystem/Finder.swift",
"HexavilleFile/Docker.swift",
"HexavilleFile/HexavilleFile.swift",
"HexavilleFile/Swift.swift",
"HexavilleFile/SwiftVersion.swift",
"HexavilleFile/Version.swift",
"Posix/Mutex.swift",
"Process/Proc.swift",
"Process/Spawn.swift",
"Signal/SignalHandler.swift",
"SwiftBuilder/SwiftBuildEnvironmentProvider/DockerBuildEnvironmentProvider.swift",
"SwiftBuilder/SwiftBuildEnvironmentProvider/SwiftBuildEnvironmentProvider.swift",
"SwiftBuilder/SwiftBuilder.swift",
"Util/Hashids.swift"
],
"type" : "library"
},
{
"c99name" : "Hexaville",
"module_type" : "SwiftTarget",
"name" : "Hexaville",
"path" : "Sources/Hexaville",
"product_memberships" : [
"hexaville"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"HexavilleCore"
],
"type" : "executable"
}
],
"tools_version" : "5.1"
}
Done.