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 mimiq, reference main (3d1923), with Swift 6.1 for Wasm on 27 May 2025 20:49:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wendyliga/mimiq.git
https://github.com/wendyliga/mimiq.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-tagged",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-tagged.git"
    },
    {
      "identity" : "consoleio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wendyliga/ConsoleIO.git"
    },
    {
      "identity" : "explorer",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wendyliga/Explorer.git"
    }
  ],
  "manifest_display_name" : "mimiq",
  "name" : "mimiq",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "mimiq",
      "targets" : [
        "mimiq"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "MimiqCore",
      "targets" : [
        "mimiq-core"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "mimiqTests",
      "module_type" : "SwiftTarget",
      "name" : "mimiqTests",
      "path" : "Tests/mimiqTests",
      "sources" : [
        "mimiqTests.swift"
      ],
      "target_dependencies" : [
        "mimiq"
      ],
      "type" : "test"
    },
    {
      "c99name" : "mimiq_core",
      "module_type" : "SwiftTarget",
      "name" : "mimiq-core",
      "path" : "Sources/mimiq-core",
      "product_dependencies" : [
        "ConsoleIO",
        "Logging",
        "Tagged"
      ],
      "product_memberships" : [
        "mimiq",
        "MimiqCore"
      ],
      "sources" : [
        "Helper/Shell.swift",
        "Models/Runtime.swift",
        "Models/Simulator.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "mimiq",
      "module_type" : "SwiftTarget",
      "name" : "mimiq",
      "path" : "Sources/mimiq",
      "product_dependencies" : [
        "ArgumentParser",
        "Explorer",
        "ConsoleIO",
        "Logging",
        "Tagged"
      ],
      "product_memberships" : [
        "mimiq"
      ],
      "sources" : [
        "Helper/Extension.swift",
        "Helper/Log.swift",
        "Helper/ShellProvider+Mock.swift",
        "Helper/ShellProvider.swift",
        "Model/GIFQuality.swift",
        "Model/OutputResult.swift",
        "Version.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "mimiq-core"
      ],
      "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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/wendyliga/ConsoleIO.git
Fetching https://github.com/pointfreeco/swift-tagged.git
Fetching https://github.com/wendyliga/Explorer.git
[1/86] Fetching consoleio
[69/1248] Fetching consoleio, swift-tagged
[413/1810] Fetching consoleio, swift-tagged, explorer
[1811/5646] Fetching consoleio, swift-tagged, explorer, swift-log
Fetched https://github.com/pointfreeco/swift-tagged.git from cache (0.53s)
Fetched https://github.com/wendyliga/ConsoleIO.git from cache (0.53s)
Fetched https://github.com/wendyliga/Explorer.git from cache (0.53s)
[576/3836] Fetching swift-log
[2840/19187] Fetching swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (0.86s)
[5220/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.58s)
Computing version for https://github.com/wendyliga/Explorer.git
Computed https://github.com/wendyliga/Explorer.git at 0.0.6 (3.05s)
Fetching https://github.com/wendyliga/SwiftKit.git
[1/717] Fetching swiftkit
Fetched https://github.com/wendyliga/SwiftKit.git from cache (0.78s)
Computing version for https://github.com/wendyliga/ConsoleIO.git
Computed https://github.com/wendyliga/ConsoleIO.git at 1.0.3 (1.44s)
Computing version for https://github.com/pointfreeco/swift-tagged.git
Computed https://github.com/pointfreeco/swift-tagged.git at 0.10.0 (0.81s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.87s)
Computing version for https://github.com/wendyliga/SwiftKit.git
Computed https://github.com/wendyliga/SwiftKit.git at 2.4.2 (0.61s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.55s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/pointfreeco/swift-tagged.git
Working copy of https://github.com/pointfreeco/swift-tagged.git resolved at 0.10.0
Creating working copy for https://github.com/wendyliga/SwiftKit.git
Working copy of https://github.com/wendyliga/SwiftKit.git resolved at 2.4.2
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/wendyliga/Explorer.git
Working copy of https://github.com/wendyliga/Explorer.git resolved at 0.0.6
Building for debugging...
[0/21] Write sources
[9/21] Write swift-version-24593BA9C3E375BF.txt
[11/41] Emitting module Tagged
[12/41] Emitting module ArgumentParserToolInfo
[13/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/42] Wrapping AST for ArgumentParserToolInfo for debugging
[16/76] Compiling Logging LogHandler.swift
[17/76] Compiling Logging Locks.swift
[18/76] Compiling Logging Logging.swift
[19/76] Compiling Logging MetadataProvider.swift
[20/76] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/77] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[23/81] Compiling SwiftKit NonEmpty.swift
[24/81] Compiling SwiftKit Traceable.swift
[25/81] Compiling SwiftKit Log.swift
[26/82] Compiling SwiftKit String+Extension.swift
[27/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/82] Compiling Tagged UUID.swift
[30/82] Compiling SwiftKit DefaultValue.swift
[31/82] Emitting module SwiftKit
[32/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[33/82] Compiling ArgumentParser CompletionsGenerator.swift
[34/82] Compiling Tagged Tagged.swift
[35/83] Compiling SwiftKit Shell.swift
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:39:20: error: cannot find 'Process' in scope
 37 |         stream result: @escaping (Shell.ResultStream) -> Void
 38 |     ) -> Shell.TerminationStatus {
 39 |         let task = Process()
    |                    `- error: cannot find 'Process' in scope
 40 |         task.arguments = arguments
 41 |
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:66:26: error: cannot find 'NotificationCenter' in scope
 64 |         // set listener
 65 |         var stdOutObserver: NSObjectProtocol!
 66 |         stdOutObserver = NotificationCenter.default.addObserver(
    |                          `- error: cannot find 'NotificationCenter' in scope
 67 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 68 |             object: stdOutReading,
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:81:17: error: cannot find 'NotificationCenter' in scope
 79 |             } else {
 80 |                 // That means we've reached the end of the input.
 81 |                 NotificationCenter.default.removeObserver(stdOutObserver!)
    |                 `- error: cannot find 'NotificationCenter' in scope
 82 |             }
 83 |         }
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:69:20: error: 'nil' requires a contextual type
 67 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 68 |             object: stdOutReading,
 69 |             queue: nil
    |                    `- error: 'nil' requires a contextual type
 70 |         ) { _ -> Void in
 71 |             let data = stdOutReading.availableData
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:86:26: error: cannot find 'NotificationCenter' in scope
 84 |
 85 |         var stdErrObserver: NSObjectProtocol!
 86 |         stdErrObserver = NotificationCenter.default.addObserver(
    |                          `- error: cannot find 'NotificationCenter' in scope
 87 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 88 |             object: stdErrReading,
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:101:17: error: cannot find 'NotificationCenter' in scope
 99 |             } else {
100 |                 // That means we've reached the end of the input.
101 |                 NotificationCenter.default.removeObserver(stdErrObserver!)
    |                 `- error: cannot find 'NotificationCenter' in scope
102 |             }
103 |         }
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:89:20: error: 'nil' requires a contextual type
 87 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 88 |             object: stdErrReading,
 89 |             queue: nil
    |                    `- error: 'nil' requires a contextual type
 90 |         ) { _ -> Void in
 91 |             let data = stdErrReading.availableData
[35/83] Wrapping AST for Logging for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/12] Write swift-version-24593BA9C3E375BF.txt
[2/32] Compiling Logging Locks.swift
[3/32] Compiling Tagged UUID.swift
[4/32] Compiling Logging MetadataProvider.swift
[5/32] Compiling SwiftKit DefaultValue.swift
[6/32] Compiling SwiftKit NonEmpty.swift
[7/33] Compiling SwiftKit Log.swift
[8/33] Compiling SwiftKit Traceable.swift
[9/33] Compiling SwiftKit Array+Extension.swift
[10/33] Compiling SwiftKit Result+Extension.swift
[11/33] Emitting module SwiftKit
[12/33] Compiling SwiftKit String+Extension.swift
[13/33] Compiling SwiftKit Deprecated.swift
[14/33] Compiling SwiftKit Error.swift
[15/33] Compiling SwiftKit Shell.swift
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:39:20: error: cannot find 'Process' in scope
 37 |         stream result: @escaping (Shell.ResultStream) -> Void
 38 |     ) -> Shell.TerminationStatus {
 39 |         let task = Process()
    |                    `- error: cannot find 'Process' in scope
 40 |         task.arguments = arguments
 41 |
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:66:26: error: cannot find 'NotificationCenter' in scope
 64 |         // set listener
 65 |         var stdOutObserver: NSObjectProtocol!
 66 |         stdOutObserver = NotificationCenter.default.addObserver(
    |                          `- error: cannot find 'NotificationCenter' in scope
 67 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 68 |             object: stdOutReading,
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:81:17: error: cannot find 'NotificationCenter' in scope
 79 |             } else {
 80 |                 // That means we've reached the end of the input.
 81 |                 NotificationCenter.default.removeObserver(stdOutObserver!)
    |                 `- error: cannot find 'NotificationCenter' in scope
 82 |             }
 83 |         }
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:69:20: error: 'nil' requires a contextual type
 67 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 68 |             object: stdOutReading,
 69 |             queue: nil
    |                    `- error: 'nil' requires a contextual type
 70 |         ) { _ -> Void in
 71 |             let data = stdOutReading.availableData
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:86:26: error: cannot find 'NotificationCenter' in scope
 84 |
 85 |         var stdErrObserver: NSObjectProtocol!
 86 |         stdErrObserver = NotificationCenter.default.addObserver(
    |                          `- error: cannot find 'NotificationCenter' in scope
 87 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 88 |             object: stdErrReading,
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:101:17: error: cannot find 'NotificationCenter' in scope
 99 |             } else {
100 |                 // That means we've reached the end of the input.
101 |                 NotificationCenter.default.removeObserver(stdErrObserver!)
    |                 `- error: cannot find 'NotificationCenter' in scope
102 |             }
103 |         }
/host/spi-builder-workspace/.build/checkouts/SwiftKit/Sources/SwiftKit/Shell.swift:89:20: error: 'nil' requires a contextual type
 87 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 88 |             object: stdErrReading,
 89 |             queue: nil
    |                    `- error: 'nil' requires a contextual type
 90 |         ) { _ -> Void in
 91 |             let data = stdErrReading.availableData
[16/33] Compiling Tagged Tagged.swift
[17/33] Emitting module Tagged
[19/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/34] Emitting module ArgumentParserToolInfo
[22/35] Compiling Logging LogHandler.swift
[23/35] Emitting module Logging
[24/35] Compiling Logging Logging.swift
BUILD FAILURE 6.1 wasm