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 SwiftSimctl, reference 0.4.2 (7cda25), with Swift 6.1 for Wasm on 28 May 2025 04:39:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/ctreffs/SwiftSimctl.git
Reference: 0.4.2
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/ctreffs/SwiftSimctl
 * tag               0.4.2      -> FETCH_HEAD
HEAD is now at 7cda257 Add get_app_container command (#18)
Cloned https://github.com/ctreffs/SwiftSimctl.git
Revision (git rev-parse @):
7cda257c97cf6aecab0adca63e6b9a2816c75281
SUCCESS checkout https://github.com/ctreffs/SwiftSimctl.git at 0.4.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ctreffs/SwiftSimctl.git
https://github.com/ctreffs/SwiftSimctl.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut.git"
    },
    {
      "identity" : "swifter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/httpswift/swifter.git"
    }
  ],
  "manifest_display_name" : "SwiftSimctl",
  "name" : "SwiftSimctl",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "SimctlCLI",
      "targets" : [
        "SimctlCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Simctl",
      "targets" : [
        "Simctl"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SimctlShared",
      "module_type" : "SwiftTarget",
      "name" : "SimctlShared",
      "path" : "Sources/SimctlShared",
      "product_memberships" : [
        "SimctlCLI",
        "Simctl"
      ],
      "sources" : [
        "SimctlShared.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SimctlCLI",
      "module_type" : "SwiftTarget",
      "name" : "SimctlCLI",
      "path" : "Sources/SimctlCLI",
      "product_dependencies" : [
        "ShellOut",
        "Swifter",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "SimctlCLI"
      ],
      "sources" : [
        "Commands.swift",
        "ListDevices.swift",
        "SimctlServer.swift",
        "StartServer.swift",
        "Swifter+Extensions.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SimctlShared"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Simctl",
      "module_type" : "SwiftTarget",
      "name" : "Simctl",
      "path" : "Sources/Simctl",
      "product_memberships" : [
        "Simctl"
      ],
      "sources" : [
        "SimctlClient.swift"
      ],
      "target_dependencies" : [
        "SimctlShared"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/httpswift/swifter.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/JohnSundell/ShellOut.git
[1/960] Fetching shellout
[961/7010] Fetching shellout, swifter
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.32s)
[1634/6050] Fetching swifter
[3873/21401] Fetching swifter, swift-argument-parser
Fetched https://github.com/httpswift/swifter.git from cache (0.93s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.10s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (1.74s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (2.88s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.97s)
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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
Building for debugging...
[0/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/41] Emitting module SimctlShared
[10/41] Emitting module ArgumentParserToolInfo
[11/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/42] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/76] 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 |
[15/80] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[16/80] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[17/80] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[18/80] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[19/80] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[20/80] Compiling SimctlShared SimctlShared.swift
[21/81] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/81] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[23/81] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
  7 |
  8 | import Foundation
  9 | import Dispatch
    |        `- error: no such module 'Dispatch'
 10 |
 11 | public protocol HttpServerIODelegate: class {
[24/81] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
  7 |
  8 | import Foundation
  9 | import Dispatch
    |        `- error: no such module 'Dispatch'
 10 |
 11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
  7 |
  8 | import Foundation
  9 | import Dispatch
    |        `- error: no such module 'Dispatch'
 10 |
 11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
  7 |
  8 | import Foundation
  9 | import Dispatch
    |        `- error: no such module 'Dispatch'
 10 |
 11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
  7 |
  8 | import Foundation
  9 | import Dispatch
    |        `- error: no such module 'Dispatch'
 10 |
 11 | public protocol HttpServerIODelegate: class {
[28/81] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
  7 |
  8 | import Foundation
  9 | import Dispatch
    |        `- error: no such module 'Dispatch'
 10 |
 11 | public protocol HttpServerIODelegate: class {
[29/81] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
  7 |
  8 | import Foundation
  9 | import Dispatch
    |        `- error: no such module 'Dispatch'
 10 |
 11 | public protocol HttpServerIODelegate: class {
[30/81] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
  7 |
  8 | import Foundation
  9 | import Dispatch
    |        `- error: no such module 'Dispatch'
 10 |
 11 | public protocol HttpServerIODelegate: class {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/81] Emitting module Swifter
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
  7 |
  8 | import Foundation
  9 | import Dispatch
    |        `- error: no such module 'Dispatch'
 10 |
 11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
  7 |
  8 | import Foundation
  9 | import Dispatch
    |        `- error: no such module 'Dispatch'
 10 |
 11 | public protocol HttpServerIODelegate: class {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/34] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[3/34] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
BUILD FAILURE 6.1 wasm