The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Hexaville with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/noppoman/hexaville.git
Reference: 1.0.1
Cloned https://github.com/noppoman/hexaville.git into spi-builder-workspace
SUCCESS checkout https://github.com/noppoman/hexaville.git at 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jakeheis/SwiftCLI.git
[1/5074] Fetching swiftcli
Fetched https://github.com/jakeheis/SwiftCLI.git (0.33s)
[1/8748] Fetching yams
Fetched https://github.com/jpsim/Yams.git (1.35s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.32s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 5.3.2 (1.05s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 5.3.2
Building for debugging...
[0/11] Compiling writer.c
[1/11] Compiling reader.c
[2/11] Compiling api.c
[3/11] Compiling parser.c
[4/32] Compiling emitter.c
[5/32] Compiling scanner.c
[7/47] Emitting module SwiftCLI
[8/49] Compiling SwiftCLI ValueBox.swift
[9/49] Compiling SwiftCLI VersionCommand.swift
[10/49] Compiling Yams Mark.swift
[11/49] Compiling Yams Node.Mapping.swift
[12/49] Compiling Yams Node.Scalar.swift
[13/49] Compiling Yams Node.Sequence.swift
[14/51] Compiling Yams Encoder.swift
[17/51] Compiling Yams YamlError.swift
[18/51] Compiling Yams shim.swift
[19/51] Compiling Yams Node.swift
[20/51] Compiling Yams Parser.swift
[21/51] Compiling Yams Emitter.swift
[23/51] Compiling Yams String+Yams.swift
[24/51] Compiling Yams Tag.swift
[25/51] Compiling Yams Representer.swift
[26/51] Compiling Yams Resolver.swift
[27/51] Emitting module Yams
[28/51] Compiling Yams Constructor.swift
[29/51] Compiling Yams Decoder.swift
[38/52] Compiling SwiftCLI Task.swift
[39/52] Compiling SwiftCLI ArgumentList.swift
[40/52] Compiling SwiftCLI ArgumentListManipulator.swift
[41/52] Compiling SwiftCLI CLI.swift
[50/55] Wrapping AST for SwiftCLI for debugging
[51/55] Wrapping AST for Yams for debugging
[53/73] 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
    public var hashValue: Int {
               ^
/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
    public var hashValue: Int {
               ^
[54/75] Compiling HexavilleCore AWSLambdaPackager.swift
[55/75] Compiling HexavilleCore Constant.swift
[56/75] Compiling HexavilleCore Error.swift
[57/75] 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
    public var hashValue: Int {
               ^
/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
    public var hashValue: Int {
               ^
[58/75] 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
    public var hashValue: Int {
               ^
/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
    public var hashValue: Int {
               ^
[59/75] Compiling HexavilleCore Mutex.swift
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:31:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
        process.launchPath = exetutablePath
                ^
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:31:17: note: use 'executableURL' instead
        process.launchPath = exetutablePath
                ^~~~~~~~~~
                executableURL
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:34:17: warning: 'launch()' is deprecated: renamed to 'run'
        process.launch()
                ^
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:34:17: note: use 'run' instead
        process.launch()
                ^~~~~~
                run
[60/75] Compiling HexavilleCore Proc.swift
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:31:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
        process.launchPath = exetutablePath
                ^
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:31:17: note: use 'executableURL' instead
        process.launchPath = exetutablePath
                ^~~~~~~~~~
                executableURL
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:34:17: warning: 'launch()' is deprecated: renamed to 'run'
        process.launch()
                ^
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Proc.swift:34:17: note: use 'run' instead
        process.launch()
                ^~~~~~
                run
[61/75] 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>')
        if posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) < 0 {
                                 ^
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:62:34: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        if posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) < 0 {
                                 ^
                                     ?? <#default value#>
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:62:34: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        if posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) < 0 {
                                 ^
                                    !
/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:)'
        threadInfo = ThreadInfo(outputPipe: &outputPipe, output: output)
                                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:89:45: note: implicit argument conversion from '[Int32]' to 'UnsafeMutablePointer<Int32>' produces a pointer valid only for the duration of the call to 'init(outputPipe:output:)'
        threadInfo = ThreadInfo(outputPipe: &outputPipe, output: output)
                                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:89:45: note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        threadInfo = ThreadInfo(outputPipe: &outputPipe, output: output)
                                            ^
[62/75] 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>')
        if posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) < 0 {
                                 ^
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:62:34: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        if posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) < 0 {
                                 ^
                                     ?? <#default value#>
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:62:34: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        if posix_spawn(&pid, argv[0], &childFDActions, nil, argv + [nil], envp + [nil]) < 0 {
                                 ^
                                    !
/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:)'
        threadInfo = ThreadInfo(outputPipe: &outputPipe, output: output)
                                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:89:45: note: implicit argument conversion from '[Int32]' to 'UnsafeMutablePointer<Int32>' produces a pointer valid only for the duration of the call to 'init(outputPipe:output:)'
        threadInfo = ThreadInfo(outputPipe: &outputPipe, output: output)
                                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/HexavilleCore/Process/Spawn.swift:89:45: note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
        threadInfo = ThreadInfo(outputPipe: &outputPipe, output: output)
                                            ^
[63/75] Compiling HexavilleCore DockerBuildEnvironmentProvider.swift
[64/75] Compiling HexavilleCore SwiftBuildEnvironmentProvider.swift
[65/75] Compiling HexavilleCore Docker.swift
[66/75] Compiling HexavilleCore HexavilleFile.swift
[67/75] Compiling HexavilleCore Swift.swift
[68/75] Compiling HexavilleCore EventEmitter.swift
[69/75] Compiling HexavilleCore FileManager.swift
[70/75] Compiling HexavilleCore Finder.swift
[71/75] 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
    var _alphabet = (alphabet != nil) ? alphabet! : HashidsOptions.ALPHABET
    ~~~ ^
    let
/host/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:93:9: warning: variable '_seps' was never mutated; consider changing to 'let' constant
    var _seps = HashidsOptions.SEPARATORS
    ~~~ ^
    let
/host/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:263:9: warning: variable 'hashes' was never mutated; consider changing to 'let' constant
    var hashes = hash.split(maxSplits: hash.count, omittingEmptySubsequences: false) {
    ~~~ ^
    let
[72/75] 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
    var _alphabet = (alphabet != nil) ? alphabet! : HashidsOptions.ALPHABET
    ~~~ ^
    let
/host/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:93:9: warning: variable '_seps' was never mutated; consider changing to 'let' constant
    var _seps = HashidsOptions.SEPARATORS
    ~~~ ^
    let
/host/spi-builder-workspace/Sources/HexavilleCore/Util/Hashids.swift:263:9: warning: variable 'hashes' was never mutated; consider changing to 'let' constant
    var hashes = hash.split(maxSplits: hash.count, omittingEmptySubsequences: false) {
    ~~~ ^
    let
BUILD FAILURE 5.8 linux

Build Machine: Linux 2