Build Information
Failed to build Hexaville, reference 1.0.1 (caaf74
), with Swift 6.0 for Linux on 26 Nov 2024 16:58:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/noppoman/hexaville.git
Reference: 1.0.1
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/noppoman/hexaville
* tag 1.0.1 -> FETCH_HEAD
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 1.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/noppoman/hexaville.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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/jakeheis/SwiftCLI.git
Fetching https://github.com/jpsim/Yams.git
[1/5074] Fetching swiftcli
[5075/15010] Fetching swiftcli, yams
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (1.00s)
Fetched https://github.com/jpsim/Yams.git from cache (1.03s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.46s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 5.3.3 (1.98s)
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 5.3.3
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Building for debugging...
[0/17] Write sources
[4/17] Compiling reader.c
[5/17] Compiling writer.c
[6/17] Compiling parser.c
[7/17] Compiling api.c
[8/17] Compiling emitter.c
[9/17] Compiling scanner.c
[10/17] Write swift-version-24593BA9C3E375BF.txt
[12/53] Emitting module SwiftCLI
[13/55] Compiling SwiftCLI ValueBox.swift
[14/55] Compiling SwiftCLI VersionCommand.swift
[15/55] Compiling Yams String+Yams.swift
[16/55] Compiling Yams Tag.swift
[17/57] Compiling Yams Representer.swift
[18/57] Compiling Yams Resolver.swift
[19/57] Compiling SwiftCLI Error.swift
[20/57] Compiling SwiftCLI HelpCommand.swift
[21/57] Compiling SwiftCLI HelpMessageGenerator.swift
[22/57] Compiling SwiftCLI Term.swift
[23/57] Compiling SwiftCLI Validation.swift
[24/57] Compiling Yams Emitter.swift
[25/57] Compiling SwiftCLI Path.swift
[26/57] Compiling SwiftCLI ArgumentList.swift
[27/57] Compiling Yams Decoder.swift
[29/57] Compiling Yams YamlError.swift
[30/57] Compiling Yams shim.swift
[31/57] Compiling SwiftCLI Parser.swift
[33/57] Compiling SwiftCLI Stream.swift
[34/57] Compiling SwiftCLI Task.swift
[35/57] Compiling SwiftCLI Input.swift
[36/57] Compiling SwiftCLI Option.swift
[50/58] Emitting module Yams
[53/59] Wrapping AST for SwiftCLI for debugging
[54/59] Wrapping AST for Yams for debugging
[56/77] Compiling HexavilleCore Mutex.swift
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:31:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
29 | public init(_ exetutablePath: String, _ arguments: [String] = [], environment: [String: String] = ProcessInfo.processInfo.environment) {
30 | let process = Process()
31 | process.launchPath = exetutablePath
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
32 | process.arguments = arguments
33 | process.environment = environment
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:34:17: warning: 'launch()' is deprecated: renamed to 'run'
32 | process.arguments = arguments
33 | process.environment = environment
34 | process.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
35 |
36 | // handle SIGINT
/host/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: annotate 'shared' 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
18 | }
19 |
[57/77] Compiling HexavilleCore Proc.swift
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:31:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
29 | public init(_ exetutablePath: String, _ arguments: [String] = [], environment: [String: String] = ProcessInfo.processInfo.environment) {
30 | let process = Process()
31 | process.launchPath = exetutablePath
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
32 | process.arguments = arguments
33 | process.environment = environment
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:34:17: warning: 'launch()' is deprecated: renamed to 'run'
32 | process.arguments = arguments
33 | process.environment = environment
34 | process.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
35 |
36 | // handle SIGINT
/host/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: annotate 'shared' 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
18 | }
19 |
[58/77] Compiling HexavilleCore Spawn.swift
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:62:34: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
60 | let envp: [UnsafeMutablePointer<CChar>?] = envs.map { $0.withCString(strdup) }
61 |
62 | if posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) < 0 {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
63 | throw SpawnError.couldNotSpawn
64 | }
/host/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)
/host/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: annotate 'shared' 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
18 | }
19 |
/host/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: annotate 'shared' 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
33 |
34 | private var handlers: [() -> Void] = []
[59/77] Compiling HexavilleCore SignalHandler.swift
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:62:34: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
60 | let envp: [UnsafeMutablePointer<CChar>?] = envs.map { $0.withCString(strdup) }
61 |
62 | if posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) < 0 {
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
63 | throw SpawnError.couldNotSpawn
64 | }
/host/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)
/host/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: annotate 'shared' 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
18 | }
19 |
/host/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: annotate 'shared' 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
33 |
34 | private var handlers: [() -> Void] = []
[60/79] Compiling HexavilleCore AWSLambdaPackager.swift
[61/79] Compiling HexavilleCore Constant.swift
[62/79] Compiling HexavilleCore Error.swift
[63/79] Emitting module HexavilleCore
/host/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 | }
/host/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 | }
/host/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: annotate 'shared' 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
18 | }
19 |
/host/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: annotate 'shared' 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
33 |
34 | private var handlers: [() -> Void] = []
/host/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: annotate 'MIN_ALPHABET_LENGTH' 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
38 |
39 | static var SEP_DIV: Double = 3.5
/host/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: annotate 'SEP_DIV' 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
40 |
41 | static var GUARD_DIV: Double = 12
/host/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: annotate 'GUARD_DIV' 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
42 |
43 | static var ALPHABET: String = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
/host/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: annotate 'ALPHABET' 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
44 |
45 | static var SEPARATORS: String = "cfhistuCFHISTU"
/host/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: annotate 'SEPARATORS' 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
46 |
47 | }
[64/79] Compiling HexavilleCore Docker.swift
[65/79] Compiling HexavilleCore HexavilleFile.swift
[66/79] Compiling HexavilleCore Swift.swift
[67/79] Compiling HexavilleCore EventEmitter.swift
[68/79] Compiling HexavilleCore FileManager.swift
[69/79] Compiling HexavilleCore Finder.swift
[70/79] Compiling HexavilleCore DockerBuildEnvironmentProvider.swift
[71/79] Compiling HexavilleCore SwiftBuildEnvironmentProvider.swift
[72/79] Compiling HexavilleCore SwiftVersion.swift
/host/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 | }
/host/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 | }
[73/79] Compiling HexavilleCore Version.swift
/host/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 | }
/host/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 | }
[74/79] Compiling HexavilleCore SwiftBuilder.swift
/host/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: annotate 'MIN_ALPHABET_LENGTH' 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
38 |
39 | static var SEP_DIV: Double = 3.5
/host/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: annotate 'SEP_DIV' 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
40 |
41 | static var GUARD_DIV: Double = 12
/host/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: annotate 'GUARD_DIV' 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
42 |
43 | static var ALPHABET: String = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
/host/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: annotate 'ALPHABET' 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
44 |
45 | static var SEPARATORS: String = "cfhistuCFHISTU"
/host/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: annotate 'SEPARATORS' 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
46 |
47 | }
/host/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 |
/host/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
/host/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 | }
[75/79] Compiling HexavilleCore Hashids.swift
/host/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: annotate 'MIN_ALPHABET_LENGTH' 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
38 |
39 | static var SEP_DIV: Double = 3.5
/host/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: annotate 'SEP_DIV' 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
40 |
41 | static var GUARD_DIV: Double = 12
/host/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: annotate 'GUARD_DIV' 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
42 |
43 | static var ALPHABET: String = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
/host/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: annotate 'ALPHABET' 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
44 |
45 | static var SEPARATORS: String = "cfhistuCFHISTU"
/host/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: annotate 'SEPARATORS' 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
46 |
47 | }
/host/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 |
/host/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
/host/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 | }
BUILD FAILURE 6.0 linux