The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Hexaville, reference 1.0.1 (caaf74), with Swift 6.1 for Linux on 25 Apr 2025 09:58:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path:  $PWD
https://github.com/noppoman/hexaville.git
https://github.com/noppoman/hexaville.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/jpsim/Yams.git
[1/5074] Fetching swiftcli
[1980/15363] Fetching swiftcli, yams
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (1.69s)
Fetched https://github.com/jpsim/Yams.git from cache (1.73s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (2.43s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 5.3.3 (3.46s)
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 writer.c
[5/17] Compiling reader.c
[6/17] Compiling parser.c
[7/17] Compiling api.c
[8/17] Compiling scanner.c
[9/17] Compiling emitter.c
[10/17] Write swift-version-24593BA9C3E375BF.txt
[12/53] Compiling Yams Mark.swift
[13/53] Compiling Yams Node.Mapping.swift
[14/53] Compiling Yams Decoder.swift
[17/57] Compiling SwiftCLI ValueBox.swift
[18/57] Compiling SwiftCLI VersionCommand.swift
[19/57] Compiling Yams YamlError.swift
[20/57] Compiling Yams shim.swift
[21/57] Compiling Yams String+Yams.swift
[22/57] Compiling Yams Tag.swift
[26/57] Compiling Yams Emitter.swift
[27/57] Compiling Yams Encoder.swift
[28/57] Compiling Yams Constructor.swift
[29/57] Compiling Yams Node.Sequence.swift
[30/57] Compiling Yams Representer.swift
[31/57] Compiling Yams Resolver.swift
[32/57] Emitting module SwiftCLI
[33/57] Compiling Yams Node.swift
[34/57] Compiling Yams Parser.swift
[35/57] Compiling Yams Node.Scalar.swift
[36/57] Compiling SwiftCLI Term.swift
[37/57] Compiling SwiftCLI Validation.swift
[39/57] Compiling SwiftCLI Stream.swift
[40/57] Compiling SwiftCLI Task.swift
[45/58] Emitting module Yams
[53/59] Wrapping AST for SwiftCLI for debugging
[54/59] Wrapping AST for Yams for debugging
[56/77] 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: 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 |
/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: 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] = []
/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: 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
/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: 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
/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: 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"
/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: 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"
/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: 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 | }
[57/79] Compiling HexavilleCore Docker.swift
[58/79] Compiling HexavilleCore HexavilleFile.swift
[59/79] Compiling HexavilleCore Swift.swift
[60/79] 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
[61/79] 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
[62/79] Compiling HexavilleCore DockerBuildEnvironmentProvider.swift
[63/79] Compiling HexavilleCore SwiftBuildEnvironmentProvider.swift
[64/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 |     }
[65/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 |     }
[66/79] Compiling HexavilleCore EventEmitter.swift
[67/79] Compiling HexavilleCore FileManager.swift
[68/79] Compiling HexavilleCore Finder.swift
[69/79] Compiling HexavilleCore AWSLambdaPackager.swift
[70/79] Compiling HexavilleCore Constant.swift
[71/79] Compiling HexavilleCore Error.swift
[72/79] 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: 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 |
/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: 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] = []
[73/79] 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: 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 |
/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: 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] = []
[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: 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
/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: 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
/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: 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"
/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: 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"
/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: 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 | }
/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: 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
/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: 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
/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: 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"
/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: 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"
/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: 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 | }
/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 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version-24593BA9C3E375BF.txt
[2/43] Compiling Yams String+Yams.swift
[3/43] Compiling Yams Tag.swift
[4/45] Compiling SwiftCLI Term.swift
[5/45] Compiling SwiftCLI Validation.swift
[6/47] Compiling Yams Mark.swift
[7/47] Compiling Yams Node.Mapping.swift
[10/47] Compiling Yams YamlError.swift
[11/47] Compiling Yams shim.swift
[12/47] Compiling SwiftCLI Option.swift
[13/47] Compiling SwiftCLI OptionGroup.swift
[14/47] Compiling SwiftCLI ValueBox.swift
[15/47] Compiling SwiftCLI VersionCommand.swift
[18/47] Compiling Yams Representer.swift
[19/47] Compiling Yams Resolver.swift
[20/47] Compiling Yams Node.Scalar.swift
[21/47] Compiling Yams Node.Sequence.swift
[22/47] Compiling Yams Node.swift
[23/47] Emitting module SwiftCLI
[24/47] Compiling Yams Parser.swift
[27/47] Compiling Yams Emitter.swift
[28/47] Compiling Yams Encoder.swift
[31/47] Compiling Yams Constructor.swift
[32/47] Compiling Yams Decoder.swift
[42/47] Emitting module Yams
[43/48] Wrapping AST for Yams for debugging
[45/66] Compiling HexavilleCore AWSLambdaPackager.swift
[46/66] Compiling HexavilleCore Constant.swift
[47/66] Compiling HexavilleCore Error.swift
[48/68] 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
[49/68] 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
[50/68] 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 |     }
[51/68] Compiling HexavilleCore EventEmitter.swift
[52/68] Compiling HexavilleCore FileManager.swift
[53/68] Compiling HexavilleCore Finder.swift
[54/68] Compiling HexavilleCore DockerBuildEnvironmentProvider.swift
[55/68] Compiling HexavilleCore SwiftBuildEnvironmentProvider.swift
[56/68] 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)
[57/68] 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)
[58/68] Compiling HexavilleCore Docker.swift
[59/68] Compiling HexavilleCore HexavilleFile.swift
[60/68] Compiling HexavilleCore Swift.swift
[61/68] 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 |     }
[62/68] 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 |     }
[63/68] Compiling HexavilleCore SwiftBuilder.swift
/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 |     }
[64/68] Compiling HexavilleCore Hashids.swift
/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.1 linux