The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Introspection, reference production (80eac1), with Swift 6.3 for Wasm on 18 Apr 2026 07:53:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RougeWare/Swift-Introspection.git
Reference: production
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/RougeWare/Swift-Introspection
 * branch            production -> FETCH_HEAD
 * [new branch]      production -> origin/production
HEAD is now at 80eac12 Merge pull request #11 from RougeWare/feature/hardwareModelIdentifier-parsing
Cloned https://github.com/RougeWare/Swift-Introspection.git
Revision (git rev-parse @):
80eac12471167aa7ab8c562f76d889d51a4228a1
SUCCESS checkout https://github.com/RougeWare/Swift-Introspection.git at production
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/RougeWare/Swift-Introspection.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/RougeWare/Swift-Collection-Tools.git
Fetching https://github.com/RougeWare/Swift-String-Integer-Access.git
Fetching https://github.com/RougeWare/Swift-Special-String.git
Fetching https://github.com/RougeWare/Swift-SemVer.git
[1/271] Fetching swift-semver
[121/345] Fetching swift-semver, swift-special-string
[223/575] Fetching swift-semver, swift-special-string, swift-collection-tools
[267/667] Fetching swift-semver, swift-special-string, swift-collection-tools, swift-string-integer-access
Fetched https://github.com/RougeWare/Swift-Special-String.git from cache (0.28s)
Fetched https://github.com/RougeWare/Swift-String-Integer-Access.git from cache (0.28s)
Fetched https://github.com/RougeWare/Swift-SemVer.git from cache (0.28s)
Fetched https://github.com/RougeWare/Swift-Collection-Tools.git from cache (0.29s)
Computing version for https://github.com/RougeWare/Swift-String-Integer-Access.git
Computed https://github.com/RougeWare/Swift-String-Integer-Access.git at 2.1.0 (0.79s)
Fetching https://github.com/RougeWare/Swift-Safe-Collection-Access.git
Fetching https://github.com/RougeWare/Swift-Range-Tools.git
[1/70] Fetching swift-range-tools
[41/235] Fetching swift-range-tools, swift-safe-collection-access
Fetched https://github.com/RougeWare/Swift-Range-Tools.git from cache (0.25s)
Fetched https://github.com/RougeWare/Swift-Safe-Collection-Access.git from cache (0.25s)
Computing version for https://github.com/RougeWare/Swift-Collection-Tools.git
Computed https://github.com/RougeWare/Swift-Collection-Tools.git at 3.2.0 (0.80s)
Fetching https://github.com/RougeWare/Swift-Function-Tools
[1/179] Fetching swift-function-tools
Fetched https://github.com/RougeWare/Swift-Function-Tools from cache (0.21s)
Computing version for https://github.com/RougeWare/Swift-Special-String.git
Computed https://github.com/RougeWare/Swift-Special-String.git at 1.2.0 (0.78s)
Computing version for https://github.com/RougeWare/Swift-Range-Tools.git
Computed https://github.com/RougeWare/Swift-Range-Tools.git at 1.2.1 (0.49s)
Computing version for https://github.com/RougeWare/Swift-Safe-Collection-Access.git
Computed https://github.com/RougeWare/Swift-Safe-Collection-Access.git at 2.3.0 (0.47s)
Computing version for https://github.com/RougeWare/Swift-Function-Tools
Computed https://github.com/RougeWare/Swift-Function-Tools at 1.2.4 (0.52s)
Computing version for https://github.com/RougeWare/Swift-SemVer.git
Computed https://github.com/RougeWare/Swift-SemVer.git at 3.0.0-Beta.5 (0.48s)
Creating working copy for https://github.com/RougeWare/Swift-Special-String.git
Working copy of https://github.com/RougeWare/Swift-Special-String.git resolved at 1.2.0
Creating working copy for https://github.com/RougeWare/Swift-Function-Tools
Working copy of https://github.com/RougeWare/Swift-Function-Tools resolved at 1.2.4
Creating working copy for https://github.com/RougeWare/Swift-Safe-Collection-Access.git
Working copy of https://github.com/RougeWare/Swift-Safe-Collection-Access.git resolved at 2.3.0
Creating working copy for https://github.com/RougeWare/Swift-Collection-Tools.git
Working copy of https://github.com/RougeWare/Swift-Collection-Tools.git resolved at 3.2.0
Creating working copy for https://github.com/RougeWare/Swift-String-Integer-Access.git
Working copy of https://github.com/RougeWare/Swift-String-Integer-Access.git resolved at 2.1.0
Creating working copy for https://github.com/RougeWare/Swift-Range-Tools.git
Working copy of https://github.com/RougeWare/Swift-Range-Tools.git resolved at 1.2.1
Creating working copy for https://github.com/RougeWare/Swift-SemVer.git
Working copy of https://github.com/RougeWare/Swift-SemVer.git resolved at 3.0.0-Beta.5
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/32] Emitting module SpecialString
[12/32] Compiling SpecialString SpecialString.swift
[13/32] Compiling FunctionTools Curry.swift
[14/33] Compiling FunctionTools Constant.swift
[15/33] Compiling RangeTools RangeProtocol.swift
[16/33] Emitting module RangeTools
[17/33] Compiling RangeTools Default conformances.swift
[18/34] Compiling FunctionTools Null functions.swift
[20/34] Compiling FunctionTools Function types.swift
[21/34] Compiling SpecialString Premade Special Strings.swift
[22/34] Compiling SpecialString EssentiallyAString.swift
[24/35] Compiling FunctionTools Echo.swift
[25/35] Compiling FunctionTools !.swift
[26/35] Compiling FunctionTools Blackholes.swift
[27/36] Compiling FunctionTools Call.swift
[28/36] Emitting module FunctionTools
[30/42] Compiling SemVer Semantic Version + Comparable.swift
[31/50] Emitting module SafeCollectionAccess
[32/52] Compiling SemVer Testing tools.swift
[33/52] Compiling SemVer Semantic Version + Codable.swift
[34/52] Compiling SemVer Semantic Version + Hashable.swift
[35/52] Compiling SemVer Conveniences.swift
[36/52] Emitting module SemVer
[37/52] Compiling SemVer Semantic Version.swift
[39/53] Compiling CollectionTools Collection + isNotEmpty.swift
[40/53] Compiling CollectionTools Collection + map with transformer.swift
[41/54] Compiling CollectionTools Collection + onlyFirst & onlyLast.swift
[42/54] Emitting module StringIntegerAccess
[43/54] Compiling StringIntegerAccess String + Integer access.swift
[44/55] Compiling CollectionTools CollectionWhichCanBeEmpty.swift
[45/55] Compiling CollectionTools RangeReplaceableCollection + elemental operators.swift
[46/55] Compiling SafeCollectionAccess SafeRangeExpression.swift
[48/55] Compiling CollectionTools Collection + nonEmptyOrNil.swift
[49/55] Compiling CollectionTools Collection + withoutDuplicates.swift
[50/55] Compiling CollectionTools Sequence + sequentialPairs.swift
[51/55] Compiling SafeCollectionAccess Ranges or nil.swift
[52/55] Compiling SafeCollectionAccess Safe Collection Access.swift
[54/58] Compiling SafeStringIntegerAccess StringIntegerAccess + SafeCollectionAccess.swift
[55/58] Emitting module SafeStringIntegerAccess
[57/59] Compiling CollectionTools ArrayBuilder.swift
[58/59] Compiling CollectionTools Collection + everyPair.swift
[59/59] Emitting module CollectionTools
[61/64] Compiling Introspection Introspection.swift
[62/64] Compiling Introspection Device Info.swift
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:112:42: error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
110 |
111 |         guard let typeRange = match?.range(withName: "Type"),
112 |               let type = identifierString[orNil: typeRange],
    |                                          `- error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
113 |
114 |               let versionRange = match?.range(withName: "Version"),
/host/spi-builder-workspace/.build/checkouts/Swift-Safe-Collection-Access/Sources/SafeCollectionAccess/Ranges or nil.swift:102:5: note: where 'RangeType' = 'NSRange' (aka '_NSRange')
100 |     ///            within `0` (inclusive) and `count` (exclusive).
101 |     @inlinable
102 |     subscript<RangeType>(orNil range: RangeType) -> SubSequence?
    |     `- note: where 'RangeType' = 'NSRange' (aka '_NSRange')
103 |     where RangeType: SafeRangeExpression,
104 |           RangeType.Bound == Index {
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:142:5: warning: 'public' modifier is redundant for struct declared in a public extension
140 |
141 |     /// Models the components of a hardware model identifier. So `"MacBookAir9,1"` would split into `{type: "MacBookAir", version: {full: "9,1", major: 9, minor: 1}}`
142 |     public struct HardwareModelIdentifier: Hashable {
    |     `- warning: 'public' modifier is redundant for struct declared in a public extension
143 |
144 |         /// The "type" portion of the hardware model identifier, like `"MacBookAir"` or `"iPhone"`
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:193:34: error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
191 |                 .firstMatch(in: identifier, options: .anchored, range: NSRange(location: 0, length: identifier.count))?
192 |                 .range(withName: "Type"),
193 |             let type = identifier[orNil: typeRange]
    |                                  `- error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
194 |         else {
195 |             // Not an Apple-format identifier; just return the string itself
/host/spi-builder-workspace/.build/checkouts/Swift-Safe-Collection-Access/Sources/SafeCollectionAccess/Ranges or nil.swift:102:5: note: where 'RangeType' = 'NSRange' (aka '_NSRange')
100 |     ///            within `0` (inclusive) and `count` (exclusive).
101 |     @inlinable
102 |     subscript<RangeType>(orNil range: RangeType) -> SubSequence?
    |     `- note: where 'RangeType' = 'NSRange' (aka '_NSRange')
103 |     where RangeType: SafeRangeExpression,
104 |           RangeType.Bound == Index {
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:459:31: error: extra arguments at positions #3, #4, #5, #6 in call
453 | // MARK: Tools
454 |
455 | private func sysctl(category: CInt, value: CInt) -> String? {
    |              `- note: 'sysctl(category:value:)' declared here
456 |     var mib = [category, value]
457 |
458 |     var len: size_t = 0
459 |     let getSizeResult = sysctl(&mib, 2, nil, &len, nil, 0)
    |                               `- error: extra arguments at positions #3, #4, #5, #6 in call
460 |     guard getSizeResult == 0, len > 0 else { return nil }
461 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:459:32: error: cannot convert value of type '[CInt]' (aka 'Array<Int32>') to expected argument type 'CInt' (aka 'Int32')
457 |
458 |     var len: size_t = 0
459 |     let getSizeResult = sysctl(&mib, 2, nil, &len, nil, 0)
    |                                `- error: cannot convert value of type '[CInt]' (aka 'Array<Int32>') to expected argument type 'CInt' (aka 'Int32')
460 |     guard getSizeResult == 0, len > 0 else { return nil }
461 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:459:41: error: 'nil' requires a contextual type
457 |
458 |     var len: size_t = 0
459 |     let getSizeResult = sysctl(&mib, 2, nil, &len, nil, 0)
    |                                         `- error: 'nil' requires a contextual type
460 |     guard getSizeResult == 0, len > 0 else { return nil }
461 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:459:52: error: 'nil' requires a contextual type
457 |
458 |     var len: size_t = 0
459 |     let getSizeResult = sysctl(&mib, 2, nil, &len, nil, 0)
    |                                                    `- error: 'nil' requires a contextual type
460 |     guard getSizeResult == 0, len > 0 else { return nil }
461 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:465:27: error: extra arguments at positions #3, #4, #5, #6 in call
453 | // MARK: Tools
454 |
455 | private func sysctl(category: CInt, value: CInt) -> String? {
    |              `- note: 'sysctl(category:value:)' declared here
456 |     var mib = [category, value]
457 |
    :
463 |     defer { buffer.deallocate() }
464 |
465 |     let getResult = sysctl(&mib, 2, buffer, &len, nil, 0)
    |                           `- error: extra arguments at positions #3, #4, #5, #6 in call
466 |     guard getResult == 0 else { return nil }
467 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:465:28: error: cannot convert value of type '[CInt]' (aka 'Array<Int32>') to expected argument type 'CInt' (aka 'Int32')
463 |     defer { buffer.deallocate() }
464 |
465 |     let getResult = sysctl(&mib, 2, buffer, &len, nil, 0)
    |                            `- error: cannot convert value of type '[CInt]' (aka 'Array<Int32>') to expected argument type 'CInt' (aka 'Int32')
466 |     guard getResult == 0 else { return nil }
467 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:465:51: error: 'nil' requires a contextual type
463 |     defer { buffer.deallocate() }
464 |
465 |     let getResult = sysctl(&mib, 2, buffer, &len, nil, 0)
    |                                                   `- error: 'nil' requires a contextual type
466 |     guard getResult == 0 else { return nil }
467 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/64] Compiling Introspection Bundle Reading.swift
[64/64] Emitting module Introspection
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:112:42: error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
110 |
111 |         guard let typeRange = match?.range(withName: "Type"),
112 |               let type = identifierString[orNil: typeRange],
    |                                          `- error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
113 |
114 |               let versionRange = match?.range(withName: "Version"),
/host/spi-builder-workspace/.build/checkouts/Swift-Safe-Collection-Access/Sources/SafeCollectionAccess/Ranges or nil.swift:102:5: note: where 'RangeType' = 'NSRange' (aka '_NSRange')
100 |     ///            within `0` (inclusive) and `count` (exclusive).
101 |     @inlinable
102 |     subscript<RangeType>(orNil range: RangeType) -> SubSequence?
    |     `- note: where 'RangeType' = 'NSRange' (aka '_NSRange')
103 |     where RangeType: SafeRangeExpression,
104 |           RangeType.Bound == Index {
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:142:5: warning: 'public' modifier is redundant for struct declared in a public extension
140 |
141 |     /// Models the components of a hardware model identifier. So `"MacBookAir9,1"` would split into `{type: "MacBookAir", version: {full: "9,1", major: 9, minor: 1}}`
142 |     public struct HardwareModelIdentifier: Hashable {
    |     `- warning: 'public' modifier is redundant for struct declared in a public extension
143 |
144 |         /// The "type" portion of the hardware model identifier, like `"MacBookAir"` or `"iPhone"`
BUILD FAILURE 6.3 wasm