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 XCResource, reference main (a044a3), with Swift 6.1 for Wasm on 28 May 2025 01:35:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/faberNovel/xcresource-cli.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/faberNovel/xcresource-cli
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a044a32 Update changelog
Cloned https://github.com/faberNovel/xcresource-cli.git
Revision (git rev-parse @):
a044a3247f7fa07d8cef9ab0509505c59b166b1d
SUCCESS checkout https://github.com/faberNovel/xcresource-cli.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/faberNovel/xcresource-cli.git
https://github.com/faberNovel/xcresource-cli.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "XCResource",
  "name" : "XCResource",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "xcresource",
      "targets" : [
        "CLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XCResource",
      "targets" : [
        "XCResource"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCResourceTests",
      "module_type" : "SwiftTarget",
      "name" : "XCResourceTests",
      "path" : "Tests/XCResourceTests",
      "sources" : [
        "URLInputParserTests.swift",
        "Utils/DynamicXCSnippetFolder.swift",
        "Utils/DynamicXCTemplateFolder.swift",
        "Utils/FileManager+Temporary.swift",
        "Utils/GitRepository.swift",
        "Utils/TestXCTemplateFolderURLProvider.swift",
        "XCSnippetDownloaderTests.swift",
        "XCSnippetFileManagerTests.swift",
        "XCSnippetFileSummaryTaggerTests.swift",
        "XCTemplateDownloaderTests.swift",
        "XCTemplateFileManagerTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "XCResource"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCResource",
      "module_type" : "SwiftTarget",
      "name" : "XCResource",
      "path" : "Sources/XCResource",
      "product_memberships" : [
        "xcresource",
        "XCResource"
      ],
      "sources" : [
        "Shared/Extension/FileManager+Temporary.swift",
        "Shared/Extension/URL+Convenience.swift",
        "Shared/Shell.swift",
        "XCSnippet/File/SnippetFileToSnippetMapper.swift",
        "XCSnippet/File/XCSnippetCoder.swift",
        "XCSnippet/File/XCSnippetFile.swift",
        "XCSnippet/File/XCSnippetFileManager.swift",
        "XCSnippet/File/XCSnippetFileParser.swift",
        "XCSnippet/File/XCSnippetFileSummaryTagger.swift",
        "XCSnippet/XCSnippet.swift",
        "XCSnippet/XCSnippetCLI.swift",
        "XCSnippet/XCSnippetDownloadingStrategy.swift",
        "XCSnippet/XCSnippetFolderURLProviding.swift",
        "XCSnippet/XCSnippetLibrary.swift",
        "XCSnippet/XCSnippetList.swift",
        "XCSnippet/XCSnippetNamespace.swift",
        "XCSnippet/XCSnippetNamespaceMapper.swift",
        "XCSnippet/XCSnippetSource.swift",
        "XCSnippet/XCSnippetsDownloader.swift",
        "XCTemplate/File/XCTemplateFile.swift",
        "XCTemplate/File/XCTemplateFileManager.swift",
        "XCTemplate/File/XCTemplateFolderFile.swift",
        "XCTemplate/File/XCTemplateFolderMapper.swift",
        "XCTemplate/URLInputParser.swift",
        "XCTemplate/XCTemplate.swift",
        "XCTemplate/XCTemplateCLI.swift",
        "XCTemplate/XCTemplateFolder.swift",
        "XCTemplate/XCTemplateFolderDownloadingStrategy.swift",
        "XCTemplate/XCTemplateFolderDownloadingStrategyFactory.swift",
        "XCTemplate/XCTemplateLibrary.swift",
        "XCTemplate/XCTemplateNamespace.swift",
        "XCTemplate/XCTemplateNamespaceFolderURLProviding.swift",
        "XCTemplate/XCTemplateSource.swift",
        "XCTemplate/XCTemplatesDownloader.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLI",
      "module_type" : "SwiftTarget",
      "name" : "CLI",
      "path" : "Sources/CLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "xcresource"
      ],
      "sources" : [
        "XCResourceCommand.swift",
        "XCSnippet/InstallSnippetsCommand.swift",
        "XCSnippet/ListSnippetsCommand.swift",
        "XCSnippet/OpenSnippetsCommand.swift",
        "XCSnippet/RemoveSnippetsCommand.swift",
        "XCSnippet/XCSnippetCommand.swift",
        "XCTemplate/InstallTemplatesCommand.swift",
        "XCTemplate/ListTemplatesCommand.swift",
        "XCTemplate/OpenTemplatesCommand.swift",
        "XCTemplate/RemoveTemplatesCommand.swift",
        "XCTemplate/XCTemplateCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "XCResource"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.89s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (1.42s)
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
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/44] Emitting module XCResource
[7/48] Emitting module ArgumentParserToolInfo
[8/48] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/49] Wrapping AST for ArgumentParserToolInfo for debugging
[11/83] Compiling ArgumentParser ArgumentHelp.swift
/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 |
[12/83] Compiling ArgumentParser CompletionKind.swift
/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 |
[13/83] Compiling ArgumentParser Errors.swift
/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 |
[14/83] Compiling ArgumentParser Flag.swift
/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/83] Compiling ArgumentParser NameSpecification.swift
/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/87] 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 |
[17/87] 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 ?? ""))
[18/87] 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 ?? ""))
[19/87] 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 ?? ""))
[20/87] 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 ?? ""))
[21/87] 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 ?? ""))
[22/87] Compiling ArgumentParser Option.swift
[23/87] Compiling ArgumentParser OptionGroup.swift
[24/87] Compiling ArgumentParser CommandConfiguration.swift
[25/87] Compiling ArgumentParser EnumerableFlag.swift
[26/87] Compiling ArgumentParser ExpressibleByArgument.swift
[27/87] Compiling ArgumentParser HelpGenerator.swift
[28/87] Compiling ArgumentParser MessageInfo.swift
[29/87] Compiling ArgumentParser UsageGenerator.swift
[30/87] Compiling ArgumentParser CollectionExtensions.swift
[35/87] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/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: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 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/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: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 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/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: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 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 |   let width = Int(w.ws_col)
/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: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 |
[44/87] Compiling ArgumentParser InputOrigin.swift
[45/87] Compiling ArgumentParser Name.swift
[46/87] Compiling ArgumentParser Parsed.swift
[47/87] Compiling ArgumentParser ParsedValues.swift
[48/87] Compiling ArgumentParser ParserError.swift
[49/87] Compiling ArgumentParser SplitArguments.swift
[50/87] Compiling ArgumentParser DumpHelpGenerator.swift
[52/87] Compiling ArgumentParser ArgumentDecoder.swift
[53/87] Compiling ArgumentParser ArgumentDefinition.swift
[54/87] Compiling ArgumentParser ArgumentSet.swift
[55/87] Compiling ArgumentParser CommandParser.swift
[57/87] Compiling ArgumentParser ParsableArguments.swift
[58/87] Compiling ArgumentParser ParsableArgumentsValidation.swift
[59/87] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/7] Write swift-version-24593BA9C3E375BF.txt
[2/40] Emitting module XCResource
[3/40] Compiling XCResource XCSnippetList.swift
[4/40] Compiling XCResource XCSnippetNamespace.swift
[5/40] Compiling XCResource XCSnippetNamespaceMapper.swift
[6/40] Compiling XCResource XCSnippetSource.swift
[7/44] Compiling XCResource XCSnippetCLI.swift
[8/44] Compiling XCResource XCSnippetDownloadingStrategy.swift
[9/44] Compiling XCResource XCSnippetFolderURLProviding.swift
[10/44] Compiling XCResource XCSnippetLibrary.swift
[11/44] Compiling XCResource XCTemplateFolderMapper.swift
[12/44] Compiling XCResource URLInputParser.swift
[13/44] Compiling XCResource XCTemplate.swift
[14/44] Compiling XCResource XCTemplateCLI.swift
[15/44] Compiling XCResource XCTemplateFolder.swift
[16/44] Compiling XCResource XCTemplateFolderDownloadingStrategy.swift
[17/44] Compiling XCResource XCTemplateFolderDownloadingStrategyFactory.swift
[18/44] Compiling XCResource XCTemplateLibrary.swift
[19/44] Compiling XCResource FileManager+Temporary.swift
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
[20/44] Compiling XCResource URL+Convenience.swift
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
[21/44] Compiling XCResource Shell.swift
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
[22/44] Compiling XCResource SnippetFileToSnippetMapper.swift
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
[23/44] Compiling XCResource XCSnippetCoder.swift
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:36:20: error: cannot find 'Process' in scope
34 |     @discardableResult
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
[24/44] Compiling XCResource XCSnippetFile.swift
[25/44] Compiling XCResource XCSnippetFileManager.swift
[26/44] Compiling XCResource XCSnippetFileParser.swift
[27/44] Compiling XCResource XCSnippetFileSummaryTagger.swift
[28/44] Compiling XCResource XCSnippet.swift
[29/44] Compiling XCResource XCSnippetsDownloader.swift
[30/44] Compiling XCResource XCTemplateFile.swift
[31/44] Compiling XCResource XCTemplateFileManager.swift
[32/44] Compiling XCResource XCTemplateFolderFile.swift
[33/44] Compiling XCResource XCTemplateNamespace.swift
[34/44] Compiling XCResource XCTemplateNamespaceFolderURLProviding.swift
[35/44] Compiling XCResource XCTemplateSource.swift
[36/44] Compiling XCResource XCTemplatesDownloader.swift
[37/44] Emitting module ArgumentParserToolInfo
[38/44] Compiling ArgumentParserToolInfo ToolInfo.swift
BUILD FAILURE 6.1 wasm