The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Hexaville, reference master (caaf74), with Swift 6.2 (beta) for Linux on 17 Jun 2025 18:54:48 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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/noppoman/hexaville.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at caaf749 update release scripts
Cloned https://github.com/noppoman/hexaville.git
Revision (git rev-parse @):
caaf7497ea3a009b6093548b296d2fe1e68d8d60
SUCCESS checkout https://github.com/noppoman/hexaville.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jakeheis/SwiftCLI.git
[1/5074] Fetching swiftcli
[5075/15933] Fetching swiftcli, yams
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (1.74s)
Fetched https://github.com/jpsim/Yams.git from cache (1.78s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (2.45s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 5.3.3 (2.78s)
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 api.c
[7/17] Compiling parser.c
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/38] Compiling emitter.c
[10/38] Compiling scanner.c
[12/53] Compiling Yams Mark.swift
[13/53] Compiling Yams Node.Mapping.swift
[14/53] Compiling Yams String+Yams.swift
[15/53] Compiling Yams Tag.swift
[16/55] Compiling Yams Representer.swift
[17/55] Compiling Yams Resolver.swift
[18/55] Compiling Yams YamlError.swift
[20/55] Compiling Yams Node.Scalar.swift
[21/55] Compiling Yams Node.Sequence.swift
[22/55] Compiling Yams shim.swift
[23/55] Compiling SwiftCLI Validation.swift
[25/55] Compiling Yams Node.swift
[26/55] Compiling Yams Parser.swift
[27/57] Compiling SwiftCLI Command.swift
[28/57] Compiling SwiftCLI Compatibility.swift
[29/57] Compiling SwiftCLI CompletionGenerator.swift
[30/57] Emitting module SwiftCLI
[37/57] Compiling Yams Constructor.swift
[38/57] Compiling Yams Decoder.swift
[40/57] Compiling Yams Emitter.swift
[41/57] Compiling Yams Encoder.swift
[45/57] Emitting module Yams
[48/57] Compiling SwiftCLI ValueBox.swift
[49/57] Compiling SwiftCLI VersionCommand.swift
[53/59] Wrapping AST for SwiftCLI for debugging
[54/59] Wrapping AST for Yams for debugging
[56/77] Compiling HexavilleCore AWSLambdaPackager.swift
[57/77] Compiling HexavilleCore Constant.swift
[58/77] Compiling HexavilleCore Error.swift
[59/79] Compiling HexavilleCore Mutex.swift
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:31:17: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
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' [#DeprecatedDeclaration]
   |                 `- 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' [#DeprecatedDeclaration]
32 |         process.arguments = arguments
33 |         process.environment = environment
34 |         process.launch()
   |                 |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
   |                 `- note: use 'run' instead
35 |
36 |         // handle SIGINT
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[60/79] Compiling HexavilleCore Proc.swift
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:31:17: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
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' [#DeprecatedDeclaration]
   |                 `- 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' [#DeprecatedDeclaration]
32 |         process.arguments = arguments
33 |         process.environment = environment
34 |         process.launch()
   |                 |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
   |                 `- note: use 'run' instead
35 |
36 |         // handle SIGINT
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[61/79] Compiling HexavilleCore DockerBuildEnvironmentProvider.swift
[62/79] Compiling HexavilleCore SwiftBuildEnvironmentProvider.swift
[63/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:)' [#TemporaryPointers]
 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:)' [#TemporaryPointers]
    |                                             |- 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)
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[64/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:)' [#TemporaryPointers]
 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:)' [#TemporaryPointers]
    |                                             |- 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)
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[65/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
31 |         return (major << 8) | minor | patch
32 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[66/79] Compiling HexavilleCore Docker.swift
[67/79] Compiling HexavilleCore HexavilleFile.swift
[68/79] Compiling HexavilleCore Swift.swift
[69/79] Compiling HexavilleCore EventEmitter.swift
[70/79] Compiling HexavilleCore FileManager.swift
[71/79] Compiling HexavilleCore Finder.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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
31 |         return (major << 8) | minor | patch
32 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
31 |         return (major << 8) | minor | patch
32 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[74/79] 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 |     }
[75/79] 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.2 linux