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-1":/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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3d1923c Update README.md
Cloned https://github.com/wendyliga/mimiq.git
Revision (git rev-parse @):
3d1923cebd952ae0c99a4323bf79d300dfddd144
SUCCESS checkout https://github.com/wendyliga/mimiq.git at main
========================================
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-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/wendyliga/SwiftKit.git
Fetching https://github.com/wendyliga/Explorer.git
Fetching https://github.com/wendyliga/ConsoleIO.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/pointfreeco/swift-tagged.git
Fetching https://github.com/apple/swift-argument-parser
[1/717] Fetching swiftkit
[718/803] Fetching swiftkit, consoleio
[804/1912] Fetching swiftkit, consoleio, swift-tagged
[1514/5082] Fetching swiftkit, consoleio, swift-tagged, swift-log
[2579/5644] Fetching swiftkit, consoleio, swift-tagged, swift-log, explorer
Fetched https://github.com/pointfreeco/swift-tagged.git from cache (0.31s)
[4123/4535] Fetching swiftkit, consoleio, swift-log, explorer
Fetched https://github.com/wendyliga/ConsoleIO.git from cache (0.34s)
Fetched https://github.com/wendyliga/Explorer.git from cache (0.39s)
[1/11426] Fetching swift-argument-parser
Fetched https://github.com/wendyliga/SwiftKit.git from cache (0.76s)
Fetched https://github.com/apple/swift-log.git from cache (0.76s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.76s)
Computing version for https://github.com/wendyliga/Explorer.git
Computed https://github.com/wendyliga/Explorer.git at 0.0.5 (0.45s)
Computing version for https://github.com/wendyliga/ConsoleIO.git
Computed https://github.com/wendyliga/ConsoleIO.git at 1.0.3 (0.45s)
Computing version for https://github.com/pointfreeco/swift-tagged.git
Computed https://github.com/pointfreeco/swift-tagged.git at 0.5.0 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.0 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.1 (0.51s)
Computing version for https://github.com/wendyliga/SwiftKit.git
Computed https://github.com/wendyliga/SwiftKit.git at 2.0.1 (0.44s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.0
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/pointfreeco/swift-tagged.git
Working copy of https://github.com/pointfreeco/swift-tagged.git resolved at 0.5.0
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/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/Explorer.git
Working copy of https://github.com/wendyliga/Explorer.git resolved at 0.0.5
Building for debugging...
[0/19] Write sources
[8/19] Write swift-version-24593BA9C3E375BF.txt
[10/62] Emitting module ArgumentParser
[11/66] Compiling ArgumentParser Name.swift
[12/66] Compiling ArgumentParser Parsed.swift
[13/66] Compiling ArgumentParser ParsedValues.swift
[14/66] Compiling ArgumentParser ParserError.swift
[15/66] Compiling ArgumentParser ArgumentDefinition.swift
[16/66] Compiling ArgumentParser ArgumentSet.swift
[17/66] Compiling ArgumentParser CommandParser.swift
[18/66] Compiling ArgumentParser InputOrigin.swift
[19/66] Emitting module Tagged
[20/66] Compiling Tagged Tagged.swift
[21/66] Compiling ArgumentParser SplitArguments.swift
[22/66] Compiling ArgumentParser HelpCommand.swift
[23/66] Compiling ArgumentParser HelpGenerator.swift
[24/66] Compiling ArgumentParser MessageInfo.swift
[25/66] Compiling ArgumentParser ArgumentHelp.swift
[26/66] Compiling ArgumentParser CompletionKind.swift
[27/66] Compiling ArgumentParser Errors.swift
[28/66] Compiling ArgumentParser Flag.swift
[29/66] Compiling ArgumentParser NameSpecification.swift
[30/66] Compiling ArgumentParser ParsableArguments.swift
[31/66] Compiling ArgumentParser ParsableArgumentsValidation.swift
[32/66] Compiling ArgumentParser ParsableCommand.swift
[33/66] Compiling ArgumentParser ArgumentDecoder.swift
[34/66] Compiling ArgumentParser Option.swift
[35/66] Compiling ArgumentParser OptionGroup.swift
[36/66] Compiling ArgumentParser CommandConfiguration.swift
[37/66] Compiling ArgumentParser EnumerableFlag.swift
[38/66] Compiling ArgumentParser ExpressibleByArgument.swift
[39/66] Compiling ArgumentParser UsageGenerator.swift
[40/66] Compiling ArgumentParser SequenceExtensions.swift
[41/66] Compiling ArgumentParser StringExtensions.swift
[42/66] Compiling ArgumentParser Tree.swift
[43/66] Compiling SwiftKit Result+Extension.swift
[44/66] Compiling SwiftKit Array+Extension.swift
[45/66] Emitting module SwiftKit
[46/66] Compiling SwiftKit String+Extension.swift
[47/66] Compiling SwiftKit Error.swift
[48/67] Compiling ArgumentParser BashCompletionsGenerator.swift
[49/67] Compiling ArgumentParser CompletionsGenerator.swift
[50/67] Compiling ArgumentParser FishCompletionsGenerator.swift
[51/67] Compiling ArgumentParser ZshCompletionsGenerator.swift
[52/67] Compiling ArgumentParser Argument.swift
[55/69] Wrapping AST for Tagged for debugging
[57/69] Compiling Logging LogHandler.swift
[58/69] Emitting module Logging
[59/69] Compiling Logging Logging.swift
[60/69] Compiling Logging Locks.swift
[60/70] Wrapping AST for SwiftKit for debugging
[61/70] Wrapping AST for ArgumentParser for debugging
[64/75] Emitting module ConsoleIO
[64/75] Wrapping AST for Logging for debugging
[66/75] Compiling ConsoleIO Input.swift
[67/75] Compiling ConsoleIO Output.swift
[68/76] Wrapping AST for ConsoleIO for debugging
[70/80] Compiling mimiq_core Runtime.swift
[71/80] Compiling mimiq_core Simulator.swift
[72/80] Emitting module mimiq_core
[73/80] Compiling mimiq_core Shell.swift
/host/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:42:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
        task.launchPath = launchPath
             ^
/host/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:42:14: note: use 'executableURL' instead
        task.launchPath = launchPath
             ^~~~~~~~~~
             executableURL
/host/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:51:14: warning: 'launch()' is deprecated: renamed to 'run'
        task.launch()
             ^
/host/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:51:14: note: use 'run' instead
        task.launch()
             ^~~~~~
             run
/host/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:75:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
        task.launchPath = launchPath
             ^
/host/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:75:14: note: use 'executableURL' instead
        task.launchPath = launchPath
             ^~~~~~~~~~
             executableURL
/host/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:85:18: warning: 'launch()' is deprecated: renamed to 'run'
            task.launch()
                 ^
/host/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:85:18: note: use 'run' instead
            task.launch()
                 ^~~~~~
                 run
[75/81] Compiling Explorer Explorer.swift
[76/81] Emitting module Explorer
[76/82] Wrapping AST for mimiq-core for debugging
[78/82] Wrapping AST for Explorer for debugging
[80/90] Compiling mimiq Version.swift
[81/91] Compiling mimiq OutputResult.swift
[82/91] Compiling mimiq GIFQuality.swift
[83/91] Compiling mimiq ShellProvider.swift
[84/91] Compiling mimiq ShellProvider+Mock.swift
[85/91] Compiling mimiq main.swift
/host/spi-builder-workspace/Sources/mimiq/main.swift:408:13: error: cannot find 'Darwin' in scope
            Darwin.exit(EXIT_FAILURE)
            ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:421:17: error: cannot find 'Darwin' in scope
                Darwin.exit(EXIT_FAILURE)
                ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:436:17: error: cannot find 'Darwin' in scope
                Darwin.exit(EXIT_FAILURE)
                ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:445:13: error: cannot find 'Darwin' in scope
            Darwin.exit(EXIT_FAILURE)
            ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:476:17: error: cannot find 'Darwin' in scope
                Darwin.exit(EXIT_FAILURE)
                ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:510:13: error: cannot find 'Darwin' in scope
            Darwin.exit(EXIT_FAILURE)
            ^~~~~~
[86/91] Emitting module mimiq
[87/91] Compiling mimiq Log.swift
[88/91] 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) {
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/11] Write swift-version-24593BA9C3E375BF.txt
[2/7] Emitting module mimiq
[3/7] 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) {
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
[4/7] Compiling mimiq main.swift
/host/spi-builder-workspace/Sources/mimiq/main.swift:408:13: error: cannot find 'Darwin' in scope
            Darwin.exit(EXIT_FAILURE)
            ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:421:17: error: cannot find 'Darwin' in scope
                Darwin.exit(EXIT_FAILURE)
                ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:436:17: error: cannot find 'Darwin' in scope
                Darwin.exit(EXIT_FAILURE)
                ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:445:13: error: cannot find 'Darwin' in scope
            Darwin.exit(EXIT_FAILURE)
            ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:476:17: error: cannot find 'Darwin' in scope
                Darwin.exit(EXIT_FAILURE)
                ^~~~~~
/host/spi-builder-workspace/Sources/mimiq/main.swift:510:13: error: cannot find 'Darwin' in scope
            Darwin.exit(EXIT_FAILURE)
            ^~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2