Build Information
Failed to build Formhaus, reference main (8b2736), with Swift 6.2 for macOS (SPM) on 4 Nov 2026 07:52:27 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/formhaus-dev/formhaus-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/formhaus-dev/formhaus-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8b27368 chore: release 0.8.0 (#93)
Cloned https://github.com/formhaus-dev/formhaus-swift.git
Revision (git rev-parse @):
8b27368bd64c4ab52cc76208ea333e2b6527289d
SUCCESS checkout https://github.com/formhaus-dev/formhaus-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/formhaus-dev/formhaus-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[3/5] Copying locales
[4/5] Write swift-version--3CB7CFEC50E0D141.txt
[6/113] Emitting module FormhausCore
[7/124] Compiling FormhausCore ValidateSubmission.swift
[8/124] Compiling FormhausCore BoundedText.swift
[9/124] Compiling FormhausCore MessageKey.swift
[10/124] Compiling FormhausCore Messages.swift
[11/124] Compiling FormhausCore TypeChecks.swift
[12/124] Compiling FormhausCore ValidateField.swift
[13/124] Compiling FormhausCore ValidateStep.swift
[14/124] Compiling FormhausCore ListLimits.swift
[15/124] Compiling FormhausCore Reveal.swift
[16/124] Compiling FormhausCore Visibility.swift
[17/124] Compiling FormhausCore resource_bundle_accessor.swift
[18/124] Compiling FormhausCore RecallTokens.swift
[19/124] Compiling FormhausCore ReconcileItems.swift
[20/124] Compiling FormhausCore ReplaceDefinition.swift
[21/124] Compiling FormhausCore ShownFields.swift
[22/124] Compiling FormhausCore SkipStep.swift
[23/124] Compiling FormhausCore StartValues.swift
[24/124] Compiling FormhausCore StepSkip.swift
[25/124] Compiling FormhausCore Submission.swift
[26/124] Compiling FormhausCore ValidateHook.swift
[27/124] Compiling FormhausCore Values.swift
[28/124] Compiling FormhausCore VisibilityState.swift
[29/124] Compiling FormhausCore WriteValue.swift
[30/124] Compiling FormhausCore JSONValue.swift
[31/124] Compiling FormhausCore JSText.swift
[32/124] Compiling FormhausCore StringMap.swift
[33/124] Compiling FormhausCore FormDefinition.swift
[34/124] Compiling FormhausCore FormField.swift
[35/124] Compiling FormhausCore OptionIndex.swift
[36/124] Compiling FormhausCore ShowCondition.swift
[37/124] Compiling FormhausCore AutomatonCache.swift
[38/124] Compiling FormhausCore AutomatonMemory.swift
[39/124] Compiling FormhausCore Backtracker+Repeat.swift
[40/124] Compiling FormhausCore Backtracker+State.swift
[41/124] Compiling FormhausCore Backtracker.swift
[42/124] Compiling FormhausCore CatalogText.swift
[43/124] Compiling FormhausCore CheckCatalog.swift
[44/124] Compiling FormhausCore LocaleCatalog.swift
[45/124] Compiling FormhausCore LocaleTag.swift
[46/124] Compiling FormhausCore Localize.swift
[47/124] Compiling FormhausCore MissingTexts.swift
[48/124] Compiling FormhausCore Slots.swift
[49/124] Compiling FormhausCore TextNodes.swift
[50/124] Compiling FormhausCore JSKey.swift
[51/124] Compiling FormhausCore JSONEncoding.swift
[52/124] Compiling FormhausCore JSONParser.swift
[53/124] Compiling FormhausCore JSONValue+Codable.swift
[54/124] Compiling FormhausCore ErrorSummary.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:25: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:44: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
12 | let kept = Array(source.unicodeScalars.filter { !["\t", "\n", "\r"].contains($0) })
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
| | |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| | `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
| `- note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:37: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:23:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
21 | }
22 | let special = specialSchemes.contains(scheme)
23 | let slashes = rest.prefix { special ? $0 == "/" || $0 == "\\" : $0 == "/" }.count
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
24 | let opens = special && !relative ? true : slashes >= 2
25 | guard opens else {
[55/124] Compiling FormhausCore FieldHints.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:25: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:44: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
12 | let kept = Array(source.unicodeScalars.filter { !["\t", "\n", "\r"].contains($0) })
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
| | |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| | `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
| `- note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:37: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:23:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
21 | }
22 | let special = specialSchemes.contains(scheme)
23 | let slashes = rest.prefix { special ? $0 == "/" || $0 == "\\" : $0 == "/" }.count
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
24 | let opens = special && !relative ? true : slashes >= 2
25 | guard opens else {
[56/124] Compiling FormhausCore FieldRules.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:25: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:44: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
12 | let kept = Array(source.unicodeScalars.filter { !["\t", "\n", "\r"].contains($0) })
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
| | |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| | `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
| `- note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:37: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:23:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
21 | }
22 | let special = specialSchemes.contains(scheme)
23 | let slashes = rest.prefix { special ? $0 == "/" || $0 == "\\" : $0 == "/" }.count
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
24 | let opens = special && !relative ? true : slashes >= 2
25 | guard opens else {
[57/124] Compiling FormhausCore ImageSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:25: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:44: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
12 | let kept = Array(source.unicodeScalars.filter { !["\t", "\n", "\r"].contains($0) })
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
| | |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| | `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
| `- note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:37: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:23:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
21 | }
22 | let special = specialSchemes.contains(scheme)
23 | let slashes = rest.prefix { special ? $0 == "/" || $0 == "\\" : $0 == "/" }.count
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
24 | let opens = special && !relative ? true : slashes >= 2
25 | guard opens else {
[58/124] Compiling FormhausCore Labels.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:25: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:44: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
12 | let kept = Array(source.unicodeScalars.filter { !["\t", "\n", "\r"].contains($0) })
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
| | |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| | `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
| `- note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:37: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:23:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
21 | }
22 | let special = specialSchemes.contains(scheme)
23 | let slashes = rest.prefix { special ? $0 == "/" || $0 == "\\" : $0 == "/" }.count
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
24 | let opens = special && !relative ? true : slashes >= 2
25 | guard opens else {
[59/124] Compiling FormhausCore OptionTexts.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:25: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:44: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
12 | let kept = Array(source.unicodeScalars.filter { !["\t", "\n", "\r"].contains($0) })
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
| | |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| | `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
| `- note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:37: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:23:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
21 | }
22 | let special = specialSchemes.contains(scheme)
23 | let slashes = rest.prefix { special ? $0 == "/" || $0 == "\\" : $0 == "/" }.count
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
24 | let opens = special && !relative ? true : slashes >= 2
25 | guard opens else {
[60/124] Compiling FormhausCore RecallDependencies.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:25: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:44: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
12 | let kept = Array(source.unicodeScalars.filter { !["\t", "\n", "\r"].contains($0) })
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
| | |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| | `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
| `- note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:37: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:23:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
21 | }
22 | let special = specialSchemes.contains(scheme)
23 | let slashes = rest.prefix { special ? $0 == "/" || $0 == "\\" : $0 == "/" }.count
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
24 | let opens = special && !relative ? true : slashes >= 2
25 | guard opens else {
[61/124] Compiling FormhausCore Recalled.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:25: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:44: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
12 | let kept = Array(source.unicodeScalars.filter { !["\t", "\n", "\r"].contains($0) })
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
| | |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| | `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
| `- note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:37: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:23:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
21 | }
22 | let special = specialSchemes.contains(scheme)
23 | let slashes = rest.prefix { special ? $0 == "/" || $0 == "\\" : $0 == "/" }.count
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
24 | let opens = special && !relative ? true : slashes >= 2
25 | guard opens else {
[62/124] Compiling FormhausCore RendererSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:25: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:44: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
12 | let kept = Array(source.unicodeScalars.filter { !["\t", "\n", "\r"].contains($0) })
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
| | |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| | `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
| `- note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:37: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:23:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
21 | }
22 | let special = specialSchemes.contains(scheme)
23 | let slashes = rest.prefix { special ? $0 == "/" || $0 == "\\" : $0 == "/" }.count
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
24 | let opens = special && !relative ? true : slashes >= 2
25 | guard opens else {
[63/124] Compiling FormhausCore TestIds.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:25: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:44: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
12 | let kept = Array(source.unicodeScalars.filter { !["\t", "\n", "\r"].contains($0) })
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
| | |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| | `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
| `- note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:37: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:23:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
21 | }
22 | let special = specialSchemes.contains(scheme)
23 | let slashes = rest.prefix { special ? $0 == "/" || $0 == "\\" : $0 == "/" }.count
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
24 | let opens = special && !relative ? true : slashes >= 2
25 | guard opens else {
[64/124] Compiling FormhausCore SubmittedValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:25: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:44: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
12 | let kept = Array(source.unicodeScalars.filter { !["\t", "\n", "\r"].contains($0) })
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
| | |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| | `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
| `- note: short-circuit using 'guard' to exit this function early if the optional value contains 'nil'
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:15:37: error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
13 | let start = kept.firstIndex { $0.value > 0x20 } ?? kept.endIndex
14 | let end = kept.lastIndex { $0.value > 0x20 }.map { $0 + 1 } ?? start
15 | var rest = kept[start..<max(start, end)]
| |- error: value of optional type 'Array<String.UnicodeScalarView.Element>.Index?' (aka 'Optional<Int>') must be unwrapped to a value of type 'Array<String.UnicodeScalarView.Element>.Index' (aka 'Int')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
16 | var relative = true
17 | if let colon = rest.firstIndex(of: ":"), isScheme(rest[..<colon]) {
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/Renderer/ImageSource.swift:23:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
21 | }
22 | let special = specialSchemes.contains(scheme)
23 | let slashes = rest.prefix { special ? $0 == "/" || $0 == "\\" : $0 == "/" }.count
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
24 | let opens = special && !relative ? true : slashes >= 2
25 | guard opens else {
[65/124] Compiling FormhausCore EngineOptions.swift
[66/124] Compiling FormhausCore ExclusiveWrite.swift
[67/124] Compiling FormhausCore FormEngine.swift
[68/124] Compiling FormhausCore FormSnapshot.swift
[69/124] Compiling FormhausCore GoToStep.swift
[70/124] Compiling FormhausCore HiddenQueue.swift
[71/124] Compiling FormhausCore ItemCache.swift
[72/124] Compiling FormhausCore KeptValues.swift
[73/124] Compiling FormhausCore Navigation.swift
[74/124] Compiling FormhausCore OptionOrder.swift
[75/124] Compiling FormhausCore Recall.swift
[76/124] Compiling FormhausCore RecallFormat.swift
[77/124] Compiling FormhausCore CaseFolding.swift
[78/124] Compiling FormhausCore CharSet.swift
[79/124] Compiling FormhausCore CompiledPattern.swift
[80/124] Compiling FormhausCore Deferred.swift
[81/124] Compiling FormhausCore GroupNames.swift
[82/124] Compiling FormhausCore JSRegex.swift
[83/124] Compiling FormhausCore LazyDFA.swift
[84/124] Compiling FormhausCore LiteralSearch.swift
[85/124] Compiling FormhausCore MatchContext.swift
[86/124] Compiling FormhausCore NodeAnalysis.swift
[87/124] Compiling FormhausCore PatternCache.swift
[88/124] Compiling FormhausCore Prefilter.swift
[89/124] Compiling FormhausCore RegexCompiler+Quantifiers.swift
[90/124] Compiling FormhausCore RegexCompiler.swift
[91/124] Compiling FormhausCore RegexNode.swift
[92/124] Compiling FormhausCore RegexParser+Atoms.swift
[93/124] Compiling FormhausCore RegexParser+Escapes.swift
[94/124] Compiling FormhausCore RegexParser.swift
[95/124] Compiling FormhausCore RegexProgram.swift
[96/124] Compiling FormhausCore SearchPlan.swift
[97/124] Compiling FormhausCore StepBudget.swift
[98/124] Compiling FormhausCore ThreadStep.swift
[99/124] Compiling FormhausCore UnitClasses.swift
[100/124] Compiling FormhausCore DomIds.swift
[101/124] Compiling FormhausCore RecallWarnings.swift
[102/124] Compiling FormhausCore Shape.swift
[103/124] Compiling FormhausCore SlowPattern.swift
[104/124] Compiling FormhausCore StructureChecks.swift
[105/124] Compiling FormhausCore VersionWarnings.swift
[106/124] Compiling FormhausCore ChangedKeys.swift
[107/124] Compiling FormhausCore DirtyTracker.swift
[108/124] Compiling FormhausCore ActivePath.swift
[109/124] Compiling FormhausCore CreateValues.swift
[110/124] Compiling FormhausCore DefinitionIndex.swift
[111/124] Compiling FormhausCore EngineCore.swift
[112/124] Compiling FormhausCore EngineErrors.swift
[113/124] Compiling FormhausCore AutocompleteWarnings.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/DefinitionValidation/DefinitionWarnings.swift:184:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
182 |
183 | func definitionWarnings(_ context: CheckContext) -> [DefinitionIssue] {
184 | versionWarnings(context) + propertyWarnings(context) + context.conditions.flatMap { conditionWarnings(context, $0) }
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
185 | + context.entries.flatMap { fieldWarnings(context, $0) } + routeWarnings(context) + recallWarnings(context)
186 | + exclusiveWarnings(context)
[114/124] Compiling FormhausCore CheckContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/DefinitionValidation/DefinitionWarnings.swift:184:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
182 |
183 | func definitionWarnings(_ context: CheckContext) -> [DefinitionIssue] {
184 | versionWarnings(context) + propertyWarnings(context) + context.conditions.flatMap { conditionWarnings(context, $0) }
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
185 | + context.entries.flatMap { fieldWarnings(context, $0) } + routeWarnings(context) + recallWarnings(context)
186 | + exclusiveWarnings(context)
[115/124] Compiling FormhausCore CheckDefinition.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/DefinitionValidation/DefinitionWarnings.swift:184:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
182 |
183 | func definitionWarnings(_ context: CheckContext) -> [DefinitionIssue] {
184 | versionWarnings(context) + propertyWarnings(context) + context.conditions.flatMap { conditionWarnings(context, $0) }
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
185 | + context.entries.flatMap { fieldWarnings(context, $0) } + routeWarnings(context) + recallWarnings(context)
186 | + exclusiveWarnings(context)
[116/124] Compiling FormhausCore ConditionChecks.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/DefinitionValidation/DefinitionWarnings.swift:184:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
182 |
183 | func definitionWarnings(_ context: CheckContext) -> [DefinitionIssue] {
184 | versionWarnings(context) + propertyWarnings(context) + context.conditions.flatMap { conditionWarnings(context, $0) }
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
185 | + context.entries.flatMap { fieldWarnings(context, $0) } + routeWarnings(context) + recallWarnings(context)
186 | + exclusiveWarnings(context)
[117/124] Compiling FormhausCore DefinitionIssue.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/DefinitionValidation/DefinitionWarnings.swift:184:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
182 |
183 | func definitionWarnings(_ context: CheckContext) -> [DefinitionIssue] {
184 | versionWarnings(context) + propertyWarnings(context) + context.conditions.flatMap { conditionWarnings(context, $0) }
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
185 | + context.entries.flatMap { fieldWarnings(context, $0) } + routeWarnings(context) + recallWarnings(context)
186 | + exclusiveWarnings(context)
[118/124] Compiling FormhausCore DefinitionWarnings.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/DefinitionValidation/DefinitionWarnings.swift:184:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
182 |
183 | func definitionWarnings(_ context: CheckContext) -> [DefinitionIssue] {
184 | versionWarnings(context) + propertyWarnings(context) + context.conditions.flatMap { conditionWarnings(context, $0) }
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
185 | + context.entries.flatMap { fieldWarnings(context, $0) } + routeWarnings(context) + recallWarnings(context)
186 | + exclusiveWarnings(context)
[119/124] Compiling FormhausCore ExclusiveWarnings.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/DefinitionValidation/DefinitionWarnings.swift:184:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
182 |
183 | func definitionWarnings(_ context: CheckContext) -> [DefinitionIssue] {
184 | versionWarnings(context) + propertyWarnings(context) + context.conditions.flatMap { conditionWarnings(context, $0) }
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
185 | + context.entries.flatMap { fieldWarnings(context, $0) } + routeWarnings(context) + recallWarnings(context)
186 | + exclusiveWarnings(context)
[120/124] Compiling FormhausCore FieldChecks.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/DefinitionValidation/DefinitionWarnings.swift:184:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
182 |
183 | func definitionWarnings(_ context: CheckContext) -> [DefinitionIssue] {
184 | versionWarnings(context) + propertyWarnings(context) + context.conditions.flatMap { conditionWarnings(context, $0) }
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
185 | + context.entries.flatMap { fieldWarnings(context, $0) } + routeWarnings(context) + recallWarnings(context)
186 | + exclusiveWarnings(context)
[121/124] Compiling FormhausCore IssueCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/DefinitionValidation/DefinitionWarnings.swift:184:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
182 |
183 | func definitionWarnings(_ context: CheckContext) -> [DefinitionIssue] {
184 | versionWarnings(context) + propertyWarnings(context) + context.conditions.flatMap { conditionWarnings(context, $0) }
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
185 | + context.entries.flatMap { fieldWarnings(context, $0) } + routeWarnings(context) + recallWarnings(context)
186 | + exclusiveWarnings(context)
[122/124] Compiling FormhausCore PatternChars.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/DefinitionValidation/DefinitionWarnings.swift:184:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
182 |
183 | func definitionWarnings(_ context: CheckContext) -> [DefinitionIssue] {
184 | versionWarnings(context) + propertyWarnings(context) + context.conditions.flatMap { conditionWarnings(context, $0) }
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
185 | + context.entries.flatMap { fieldWarnings(context, $0) } + routeWarnings(context) + recallWarnings(context)
186 | + exclusiveWarnings(context)
[123/124] Compiling FormhausCore PatternLexer.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/DefinitionValidation/DefinitionWarnings.swift:184:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
182 |
183 | func definitionWarnings(_ context: CheckContext) -> [DefinitionIssue] {
184 | versionWarnings(context) + propertyWarnings(context) + context.conditions.flatMap { conditionWarnings(context, $0) }
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
185 | + context.entries.flatMap { fieldWarnings(context, $0) } + routeWarnings(context) + recallWarnings(context)
186 | + exclusiveWarnings(context)
[124/124] Compiling FormhausCore PropertyWarnings.swift
/Users/admin/builder/spi-builder-workspace/Sources/FormhausCore/DefinitionValidation/DefinitionWarnings.swift:184:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
182 |
183 | func definitionWarnings(_ context: CheckContext) -> [DefinitionIssue] {
184 | versionWarnings(context) + propertyWarnings(context) + context.conditions.flatMap { conditionWarnings(context, $0) }
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
185 | + context.entries.flatMap { fieldWarnings(context, $0) } + routeWarnings(context) + recallWarnings(context)
186 | + exclusiveWarnings(context)
BUILD FAILURE 6.2 macosSpm