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 swift-test-codecov, reference 0.13.0 (67d173), with Swift 6.1 for Wasm on 28 May 2025 12:16:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/mattpolzin/swift-test-codecov.git
Reference: 0.13.0
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/mattpolzin/swift-test-codecov
 * tag               0.13.0     -> FETCH_HEAD
HEAD is now at 67d173e Merge pull request #21 from mattpolzin/feature/20/fractional-minimum
Cloned https://github.com/mattpolzin/swift-test-codecov.git
Revision (git rev-parse @):
67d173ebf642b7b70038aaf9d3734ecda2473274
SUCCESS checkout https://github.com/mattpolzin/swift-test-codecov.git at 0.13.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mattpolzin/swift-test-codecov.git
https://github.com/mattpolzin/swift-test-codecov.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" : "0.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "texttable",
      "requirement" : {
        "branch" : [
          "swift-5"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattpolzin/TextTable.git"
    },
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "2.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sharplet/Regex.git"
    }
  ],
  "manifest_display_name" : "swift-test-codecov",
  "name" : "swift-test-codecov",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "swift-test-codecov",
      "targets" : [
        "swift-test-codecov"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftTestCodecovLib",
      "targets" : [
        "SwiftTestCodecovLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_test_codecovTests",
      "module_type" : "SwiftTarget",
      "name" : "swift-test-codecovTests",
      "path" : "Tests/swift-test-codecovTests",
      "sources" : [
        "PlaceholderTests2.swift"
      ],
      "target_dependencies" : [
        "swift-test-codecov"
      ],
      "type" : "test"
    },
    {
      "c99name" : "swift_test_codecov",
      "module_type" : "SwiftTarget",
      "name" : "swift-test-codecov",
      "path" : "Sources/swift-test-codecov",
      "product_dependencies" : [
        "ArgumentParser",
        "TextTable"
      ],
      "product_memberships" : [
        "swift-test-codecov"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftTestCodecovLib"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftTestCodecovLibTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTestCodecovLibTests",
      "path" : "Tests/SwiftTestCodecovLibTests",
      "product_dependencies" : [
        "Regex"
      ],
      "sources" : [
        "AggregateTests.swift"
      ],
      "target_dependencies" : [
        "SwiftTestCodecovLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftTestCodecovLib",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTestCodecovLib",
      "path" : "Sources/SwiftTestCodecovLib",
      "product_dependencies" : [
        "Regex"
      ],
      "product_memberships" : [
        "swift-test-codecov",
        "SwiftTestCodecovLib"
      ],
      "sources" : [
        "Aggregate.swift",
        "CodeCov.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/mattpolzin/TextTable.git
[1/189] Fetching texttable
Fetched https://github.com/mattpolzin/TextTable.git from cache (0.23s)
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/apple/swift-argument-parser
[1/1254] Fetching regex
[892/16605] Fetching regex, swift-argument-parser
Fetched https://github.com/sharplet/Regex.git from cache (1.00s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.01s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (4.52s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (0.88s)
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.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.2
Creating working copy for https://github.com/mattpolzin/TextTable.git
Working copy of https://github.com/mattpolzin/TextTable.git resolved at swift-5 (5366206)
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/64] Compiling ArgumentParser Option.swift
[8/64] Compiling ArgumentParser OptionGroup.swift
[9/64] Compiling ArgumentParser CommandConfiguration.swift
[10/64] Compiling ArgumentParser EnumerableFlag.swift
[11/64] Compiling ArgumentParser ExpressibleByArgument.swift
[12/68] 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 ?? ""))
[13/68] 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 ?? ""))
[14/68] 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 ?? ""))
[15/68] 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 ?? ""))
[16/68] Compiling TextTable PlainFormat.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 ?? ""))
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/68] 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 |
[18/68] 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 |
[19/68] Compiling TextTable HtmlFormat.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 |
[20/68] Compiling TextTable LatexFormat.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 |
[21/68] 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 |
[22/68] 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 |
[23/68] Compiling ArgumentParser ArgumentDefinition.swift
[24/68] Compiling ArgumentParser ArgumentSet.swift
[25/68] Compiling ArgumentParser CommandParser.swift
[26/68] Compiling ArgumentParser InputOrigin.swift
[27/68] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/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 Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[28/68] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/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 Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[29/68] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/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 Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[30/68] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/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 Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[33/68] Compiling TextTable String+Util.swift
[36/69] Emitting module TextTable
[37/69] Compiling ArgumentParser Name.swift
[38/69] Compiling ArgumentParser Parsed.swift
[39/69] Compiling ArgumentParser ParsedValues.swift
[40/69] Compiling ArgumentParser ParserError.swift
[41/69] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:314:11: error: cannot find 'winsize' in scope
312 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
313 | #else
314 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
316 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:13: error: cannot find 'ioctl' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:19: error: cannot find 'STDOUT_FILENO' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:34: error: cannot find 'TIOCGWINSZ' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/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 |
[42/69] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:314:11: error: cannot find 'winsize' in scope
312 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
313 | #else
314 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
316 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:13: error: cannot find 'ioctl' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:19: error: cannot find 'STDOUT_FILENO' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:34: error: cannot find 'TIOCGWINSZ' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/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 |
[43/69] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:314:11: error: cannot find 'winsize' in scope
312 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
313 | #else
314 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
316 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:13: error: cannot find 'ioctl' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:19: error: cannot find 'STDOUT_FILENO' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:34: error: cannot find 'TIOCGWINSZ' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/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/69] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:314:11: error: cannot find 'winsize' in scope
312 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
313 | #else
314 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
316 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:13: error: cannot find 'ioctl' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:19: error: cannot find 'STDOUT_FILENO' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:315:34: error: cannot find 'TIOCGWINSZ' in scope
313 | #else
314 |   var w = winsize()
315 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
316 |   let width = Int(w.ws_col)
317 |   let height = Int(w.ws_row)
/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 |
[47/69] Compiling Regex ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:13:14: error: cannot find 'Thread' in scope
11 |   var value: T? {
12 |     get {
13 |       return Thread.current.threadDictionary[key] as? T
   |              `- error: cannot find 'Thread' in scope
14 |     }
15 |     set {
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:16:7: error: cannot find 'Thread' in scope
14 |     }
15 |     set {
16 |       Thread.current.threadDictionary[key] = newValue
   |       `- error: cannot find 'Thread' in scope
17 |     }
18 |   }
[50/69] Compiling TextTable SimpleFormat.swift
[51/69] Compiling TextTable RstFormat.swift
[52/69] Compiling Regex String+ReplaceMatching.swift
[53/69] Compiling Regex Regex.swift
[54/69] Compiling Regex Options.swift
[55/69] Emitting module Regex
[56/69] Compiling Regex Foundation+Ranges.swift
[57/69] Compiling Regex MatchResult.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/8] Write swift-version-24593BA9C3E375BF.txt
[2/59] Compiling Regex ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:13:14: error: cannot find 'Thread' in scope
11 |   var value: T? {
12 |     get {
13 |       return Thread.current.threadDictionary[key] as? T
   |              `- error: cannot find 'Thread' in scope
14 |     }
15 |     set {
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:16:7: error: cannot find 'Thread' in scope
14 |     }
15 |     set {
16 |       Thread.current.threadDictionary[key] = newValue
   |       `- error: cannot find 'Thread' in scope
17 |     }
18 |   }
[3/59] Compiling TextTable RstFormat.swift
[4/59] Compiling TextTable SimpleFormat.swift
[5/60] Compiling Regex Foundation+Ranges.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/60] 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 |
[7/60] Emitting module Regex
[8/60] Compiling Regex MatchResult.swift
[9/60] Compiling Regex String+ReplaceMatching.swift
[10/64] Compiling ArgumentParser NameSpecification.swift
[11/64] Compiling ArgumentParser Option.swift
[12/64] Compiling Regex Regex.swift
[13/64] Compiling Regex Options.swift
[14/64] Compiling TextTable String+Util.swift
[15/64] Compiling ArgumentParser OptionGroup.swift
[16/64] Compiling ArgumentParser CommandConfiguration.swift
[17/64] Compiling ArgumentParser Errors.swift
[18/64] Compiling ArgumentParser Flag.swift
[19/64] Emitting module TextTable
BUILD FAILURE 6.1 wasm