The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mimiq with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendyliga/mimiq.git
Reference: 0.5.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/wendyliga/mimiq
 * tag               0.5.1      -> FETCH_HEAD
HEAD is now at 054d97f fix release environment (#19)
Cloned https://github.com/wendyliga/mimiq.git
Revision (git rev-parse @):
054d97f2919460887e41cc3e7602f13b46a58479
SUCCESS checkout https://github.com/wendyliga/mimiq.git at 0.5.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/wendyliga/mimiq.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/wendyliga/Explorer.git
Fetching https://github.com/wendyliga/SwiftKit.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/wendyliga/ConsoleIO.git
[1/86] Fetching consoleio
[82/648] Fetching consoleio, explorer
[94/1365] Fetching consoleio, explorer, swiftkit
[1361/12791] Fetching consoleio, explorer, swiftkit, swift-argument-parser
Fetched https://github.com/wendyliga/SwiftKit.git from cache (0.71s)
Fetched https://github.com/wendyliga/ConsoleIO.git from cache (0.71s)
Fetched https://github.com/wendyliga/Explorer.git from cache (0.71s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.72s)
Computing version for https://github.com/wendyliga/Explorer.git
Computed https://github.com/wendyliga/Explorer.git at 0.0.5 (0.44s)
Computing version for https://github.com/wendyliga/ConsoleIO.git
Computed https://github.com/wendyliga/ConsoleIO.git at 1.0.3 (0.51s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.1 (0.63s)
Computing version for https://github.com/wendyliga/SwiftKit.git
Computed https://github.com/wendyliga/SwiftKit.git at 2.0.1 (0.45s)
Creating working copy for https://github.com/wendyliga/SwiftKit.git
Working copy of https://github.com/wendyliga/SwiftKit.git resolved at 2.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.3.1
Creating working copy for https://github.com/wendyliga/ConsoleIO.git
Working copy of https://github.com/wendyliga/ConsoleIO.git resolved at 1.0.3
Creating working copy for https://github.com/wendyliga/Explorer.git
Working copy of https://github.com/wendyliga/Explorer.git resolved at 0.0.5
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/50] Compiling SwiftKit Result+Extension.swift
[8/50] Compiling ArgumentParser ArgumentDefinition.swift
[9/50] Compiling ArgumentParser ArgumentSet.swift
[10/50] Compiling ArgumentParser CommandParser.swift
[11/50] Compiling ArgumentParser InputOrigin.swift
[12/50] Compiling ArgumentParser Option.swift
[13/50] Compiling ArgumentParser OptionGroup.swift
[14/50] Compiling ArgumentParser CommandConfiguration.swift
[15/50] Compiling ArgumentParser EnumerableFlag.swift
[16/50] Compiling ArgumentParser ExpressibleByArgument.swift
[17/54] Emitting module SwiftKit
[18/54] Compiling SwiftKit Error.swift
[19/54] Compiling SwiftKit Array+Extension.swift
[20/54] Compiling ArgumentParser ParsableArguments.swift
[21/54] Compiling ArgumentParser ParsableArgumentsValidation.swift
[22/54] Compiling ArgumentParser ParsableCommand.swift
[23/54] Compiling ArgumentParser ArgumentDecoder.swift
[24/54] Compiling ArgumentParser SplitArguments.swift
[25/54] Compiling ArgumentParser HelpCommand.swift
[26/54] Compiling ArgumentParser HelpGenerator.swift
[27/54] Compiling ArgumentParser MessageInfo.swift
[28/54] Compiling ArgumentParser Name.swift
[29/54] Compiling ArgumentParser Parsed.swift
[30/54] Compiling ArgumentParser ParsedValues.swift
[31/54] Compiling ArgumentParser ParserError.swift
[32/54] Emitting module ArgumentParser
[33/54] Compiling SwiftKit String+Extension.swift
[34/55] Compiling ArgumentParser ArgumentHelp.swift
[35/55] Compiling ArgumentParser CompletionKind.swift
[36/55] Compiling ArgumentParser Errors.swift
[37/55] Compiling ArgumentParser Flag.swift
[38/55] Compiling ArgumentParser NameSpecification.swift
[39/55] Compiling ArgumentParser BashCompletionsGenerator.swift
[40/55] Compiling ArgumentParser CompletionsGenerator.swift
[41/55] Compiling ArgumentParser FishCompletionsGenerator.swift
[42/55] Compiling ArgumentParser ZshCompletionsGenerator.swift
[43/55] Compiling ArgumentParser Argument.swift
[44/55] Wrapping AST for SwiftKit for debugging
[46/60] Compiling ArgumentParser UsageGenerator.swift
[47/60] Compiling ArgumentParser SequenceExtensions.swift
[48/60] Compiling ArgumentParser StringExtensions.swift
[49/60] Compiling ArgumentParser Tree.swift
[51/61] Compiling ConsoleIO Input.swift
[52/61] Emitting module ConsoleIO
[53/61] Compiling ConsoleIO Output.swift
[54/62] Wrapping AST for ArgumentParser for debugging
[55/62] Wrapping AST for ConsoleIO for debugging
[57/62] Compiling Explorer Explorer.swift
[58/62] Emitting module Explorer
[59/63] Wrapping AST for Explorer for debugging
[61/72] Compiling mimiq Extension.swift
/host/spi-builder-workspace/Sources/mimiq/Helper/Extension.swift:33:53: error: value of type 'AnyObject' has no member 'value'
        if let nestedJson = (toplevel as AnyObject).value(forKeyPath: keyPath) {
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
[62/72] Compiling mimiq Log.swift
/host/spi-builder-workspace/Sources/mimiq/Helper/Extension.swift:33:53: error: value of type 'AnyObject' has no member 'value'
        if let nestedJson = (toplevel as AnyObject).value(forKeyPath: keyPath) {
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
[63/72] Compiling mimiq Version.swift
[64/73] Compiling mimiq OutputResult.swift
[65/73] Compiling mimiq GIFQuality.swift
[66/73] Emitting module mimiq
[67/73] Compiling mimiq ShellProvider+Mock.swift
[68/73] Compiling mimiq Shell.swift
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:33:10: warning: 'launchPath' is deprecated: renamed to 'executableURL'
    task.launchPath = launchPath
         ^
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:33:10: note: use 'executableURL' instead
    task.launchPath = launchPath
         ^~~~~~~~~~
         executableURL
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:42:10: warning: 'launch()' is deprecated: renamed to 'run'
    task.launch()
         ^
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:42:10: note: use 'run' instead
    task.launch()
         ^~~~~~
         run
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:56:10: warning: 'launchPath' is deprecated: renamed to 'executableURL'
    task.launchPath = launchPath
         ^
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:56:10: note: use 'executableURL' instead
    task.launchPath = launchPath
         ^~~~~~~~~~
         executableURL
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:66:14: warning: 'launch()' is deprecated: renamed to 'run'
        task.launch()
             ^
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:66:14: note: use 'run' instead
        task.launch()
             ^~~~~~
             run
[69/73] Compiling mimiq ShellProvider.swift
[70/73] Compiling mimiq main.swift
/host/spi-builder-workspace/Sources/mimiq/main.swift:368:52: error: extra argument 'printOut' in call
        log("mimiq is running on linux", printOut: isVerbose)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:370:9: error: cannot find 'Darwin' in scope
        Darwin.exit(EXIT_FAILURE)
        ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:384:13: error: cannot find 'Darwin' in scope
            Darwin.exit(EXIT_FAILURE)
            ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:397:17: error: cannot find 'Darwin' in scope
                Darwin.exit(EXIT_FAILURE)
                ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:413:17: error: cannot find 'Darwin' in scope
                Darwin.exit(EXIT_FAILURE)
                ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:423:13: error: cannot find 'Darwin' in scope
            Darwin.exit(EXIT_FAILURE)
            ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:455:17: error: cannot find 'Darwin' in scope
                Darwin.exit(EXIT_FAILURE)
                ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:490:13: error: cannot find 'Darwin' in scope
            Darwin.exit(EXIT_FAILURE)
            ^~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling mimiq Log.swift
[3/8] Emitting module mimiq
[4/8] Compiling mimiq Extension.swift
/host/spi-builder-workspace/Sources/mimiq/Helper/Extension.swift:33:53: error: value of type 'AnyObject' has no member 'value'
        if let nestedJson = (toplevel as AnyObject).value(forKeyPath: keyPath) {
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
[5/8] Compiling mimiq main.swift
/host/spi-builder-workspace/Sources/mimiq/main.swift:368:52: error: extra argument 'printOut' in call
        log("mimiq is running on linux", printOut: isVerbose)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:370:9: error: cannot find 'Darwin' in scope
        Darwin.exit(EXIT_FAILURE)
        ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:384:13: error: cannot find 'Darwin' in scope
            Darwin.exit(EXIT_FAILURE)
            ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:397:17: error: cannot find 'Darwin' in scope
                Darwin.exit(EXIT_FAILURE)
                ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:413:17: error: cannot find 'Darwin' in scope
                Darwin.exit(EXIT_FAILURE)
                ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:423:13: error: cannot find 'Darwin' in scope
            Darwin.exit(EXIT_FAILURE)
            ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:455:17: error: cannot find 'Darwin' in scope
                Darwin.exit(EXIT_FAILURE)
                ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:490:13: error: cannot find 'Darwin' in scope
            Darwin.exit(EXIT_FAILURE)
            ^~~~~~
[6/10] Compiling mimiq Shell.swift
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:33:10: warning: 'launchPath' is deprecated: renamed to 'executableURL'
    task.launchPath = launchPath
         ^
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:33:10: note: use 'executableURL' instead
    task.launchPath = launchPath
         ^~~~~~~~~~
         executableURL
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:42:10: warning: 'launch()' is deprecated: renamed to 'run'
    task.launch()
         ^
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:42:10: note: use 'run' instead
    task.launch()
         ^~~~~~
         run
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:56:10: warning: 'launchPath' is deprecated: renamed to 'executableURL'
    task.launchPath = launchPath
         ^
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:56:10: note: use 'executableURL' instead
    task.launchPath = launchPath
         ^~~~~~~~~~
         executableURL
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:66:14: warning: 'launch()' is deprecated: renamed to 'run'
        task.launch()
             ^
/host/spi-builder-workspace/Sources/mimiq/Helper/Shell.swift:66:14: note: use 'run' instead
        task.launch()
             ^~~~~~
             run
[7/10] Compiling mimiq ShellProvider.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2