Build Information
Successful build of JSONSchemaForm, reference main (a4feb4), with Swift 6.2 for macOS (SPM) on 19 Feb 2026 16:27:19 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sirily11/swift-jsonschema-form.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sirily11/swift-jsonschema-form
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a4feb40 fix: enum field default selection empty (#21)
Cloned https://github.com/sirily11/swift-jsonschema-form.git
Revision (git rev-parse @):
a4feb400a0bca57bc39b8ea95544c71aa768fbfd
SUCCESS checkout https://github.com/sirily11/swift-jsonschema-form.git at main
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/sirily11/swift-json-schema
Fetching https://github.com/nalexn/ViewInspector
[1/12728] Fetching viewinspector
[129/12902] Fetching viewinspector, swift-json-schema
[557/32610] Fetching viewinspector, swift-json-schema, swift-collections
Fetched https://github.com/sirily11/swift-json-schema from cache (1.83s)
Fetched https://github.com/apple/swift-collections from cache (1.83s)
Fetched https://github.com/nalexn/ViewInspector from cache (1.83s)
Computing version for https://github.com/nalexn/ViewInspector
Computed https://github.com/nalexn/ViewInspector at 0.10.1 (2.41s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.1.4 (2.73s)
Computing version for https://github.com/sirily11/swift-json-schema
Computed https://github.com/sirily11/swift-json-schema at 1.0.2 (0.53s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.1.4
Creating working copy for https://github.com/nalexn/ViewInspector
Working copy of https://github.com/nalexn/ViewInspector resolved at 0.10.1
Creating working copy for https://github.com/sirily11/swift-json-schema
Working copy of https://github.com/sirily11/swift-json-schema resolved at 1.0.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-jsonschema-form",
"name": "JSONSchemaForm",
"url": "https://github.com/sirily11/swift-jsonschema-form.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-jsonschema-form",
"dependencies": [
{
"identity": "swift-json-schema",
"name": "JSONSchema",
"url": "https://github.com/sirily11/swift-json-schema",
"version": "1.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-json-schema",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections",
"version": "1.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/sirily11/swift-jsonschema-form.git
[1/534] Fetching swift-jsonschema-form
Fetched https://github.com/sirily11/swift-jsonschema-form.git from cache (0.86s)
Fetching https://github.com/apple/swift-collections from cache
Fetching https://github.com/sirily11/swift-json-schema from cache
Fetched https://github.com/sirily11/swift-json-schema from cache (0.47s)
Fetched https://github.com/apple/swift-collections from cache (0.54s)
Computing version for https://github.com/sirily11/swift-json-schema
Computed https://github.com/sirily11/swift-json-schema at 1.0.2 (0.60s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (0.60s)
Creating working copy for https://github.com/sirily11/swift-json-schema
Working copy of https://github.com/sirily11/swift-json-schema resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.3.0
Creating working copy for https://github.com/sirily11/swift-jsonschema-form.git
Working copy of https://github.com/sirily11/swift-jsonschema-form.git resolved at main (a4feb40)
warning: '.resolve-product-dependencies': dependency 'swift-jsonschema-form' is not used by any target
Found 2 product dependencies
- JSONSchema
- swift-collections
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/sirily11/swift-jsonschema-form.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version-49B95AFC49DCD68C.txt
[13/41] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/41] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[15/41] Compiling InternalCollectionsUtilities Specialize.swift
[16/42] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/42] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[18/42] Compiling InternalCollectionsUtilities Debugging.swift
[19/42] Compiling InternalCollectionsUtilities Descriptions.swift
[20/42] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[21/42] Compiling InternalCollectionsUtilities UInt+reversed.swift
[22/42] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[23/42] Compiling InternalCollectionsUtilities Integer rank.swift
[24/42] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[25/42] Emitting module InternalCollectionsUtilities
[26/42] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[27/42] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[28/42] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[29/42] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[30/42] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[31/42] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[32/324] Compiling HashTreeCollections _Bucket.swift
[33/324] Compiling HashTreeCollections _Hash.swift
[34/325] Compiling DequeModule _DequeBufferHeader.swift
[35/325] Compiling DequeModule _DequeSlot.swift
[36/325] Compiling DequeModule _DequeBuffer.swift
[37/325] Compiling HeapModule _HeapNode.swift
[38/325] Compiling HeapModule Heap.swift
[39/325] Compiling HeapModule Heap+Invariants.swift
[40/325] Compiling HeapModule Heap+UnsafeHandle.swift
[41/325] Emitting module HeapModule
[42/325] Compiling HeapModule Heap+Descriptions.swift
[43/325] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[44/325] Compiling HashTreeCollections _HashNode+Debugging.swift
[45/325] Compiling HashTreeCollections _HashNode+Initializers.swift
[46/325] Compiling HashTreeCollections _HashNode+Invariants.swift
[47/325] Compiling HashTreeCollections _HashNode+Lookups.swift
[48/325] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[49/325] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[52/325] Compiling HashTreeCollections _HashLevel.swift
[53/325] Compiling HashTreeCollections _HashNode+Builder.swift
[54/330] Compiling DequeModule _UnsafeWrappedBuffer.swift
[55/330] Compiling HashTreeCollections _UnmanagedHashNode.swift
[56/330] Compiling HashTreeCollections _UnsafePath.swift
[57/330] Compiling HashTreeCollections TreeDictionary+Codable.swift
[58/330] Compiling HashTreeCollections TreeDictionary+Collection.swift
[59/330] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[60/330] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[61/336] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[62/336] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[63/336] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[64/336] Compiling HashTreeCollections TreeDictionary+Filter.swift
[65/336] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[66/336] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[67/336] Compiling HashTreeCollections TreeDictionary+Keys.swift
[68/336] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[69/336] Compiling HashTreeCollections TreeDictionary+Merge.swift
[70/336] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[71/336] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[72/336] Compiling BitCollections BitSet.swift
[73/336] Compiling HashTreeCollections _RawHashNode.swift
[79/336] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[80/336] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[81/336] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[82/336] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[83/336] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[84/336] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[85/336] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[86/336] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[87/336] Compiling HashTreeCollections TreeSet+Equatable.swift
[88/336] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[89/336] Compiling HashTreeCollections TreeSet+Extras.swift
[90/336] Compiling HashTreeCollections TreeSet+Filter.swift
[91/336] Compiling HashTreeCollections TreeSet+Hashable.swift
[92/336] Compiling HashTreeCollections TreeSet+Sendable.swift
[93/336] Compiling HashTreeCollections TreeSet+Sequence.swift
[94/336] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[95/340] Compiling HashTreeCollections _HashNodeHeader.swift
[96/340] Compiling HashTreeCollections _HashSlot.swift
[97/340] Compiling HashTreeCollections _HashStack.swift
[98/340] Compiling HashTreeCollections _HashTreeIterator.swift
[99/340] Compiling HashTreeCollections _HashTreeStatistics.swift
[100/340] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[101/341] Compiling HashTreeCollections _HashNode+Structural union.swift
[102/341] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[103/341] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[104/341] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[105/341] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[106/341] Compiling HashTreeCollections _HashNode.swift
[116/344] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[117/344] Compiling HashTreeCollections _AncestorHashSlots.swift
[118/344] Compiling HashTreeCollections _Bitmap.swift
[141/344] Compiling OrderedCollections OrderedSet+SubSequence.swift
[142/344] Compiling OrderedCollections OrderedSet+Testing.swift
[143/344] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[144/344] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[145/344] Compiling OrderedCollections OrderedSet.swift
[146/344] Compiling OrderedCollections _UnsafeBitset.swift
[147/344] Compiling HashTreeCollections _HashNode+Storage.swift
[148/344] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[149/344] Compiling HashTreeCollections _HashNode+Structural filter.swift
[150/344] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[151/344] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[152/344] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[153/344] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[154/344] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[155/344] Compiling HashTreeCollections _HashNode+Structural merge.swift
[156/344] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[157/344] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[159/344] Emitting module DequeModule
[171/344] Emitting module BitCollections
[172/344] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[173/344] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[174/344] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[175/344] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[176/344] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[177/344] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[178/344] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[179/344] Compiling HashTreeCollections TreeSet.swift
[297/351] Emitting module OrderedCollections
[316/351] Emitting module _RopeModule
[333/351] Compiling _RopeModule Rope+Remove.swift
[334/351] Compiling _RopeModule Rope+RemoveSubrange.swift
[335/351] Compiling _RopeModule Rope+Split.swift
[336/351] Compiling _RopeModule Optional Utilities.swift
[337/351] Compiling _RopeModule String Utilities.swift
[338/351] Compiling _RopeModule String.Index+ABI.swift
[339/351] Compiling _RopeModule _CharacterRecognizer.swift
[340/351] Emitting module HashTreeCollections
[341/353] Compiling Collections Collections.swift
[342/353] Emitting module Collections
[343/353] Compiling JSONSchema JSONSchema+String.swift
[344/353] Compiling JSONSchema JSONSchema+Integer.swift
[345/353] Compiling JSONSchema JSONSchema+Enum.swift
[346/353] Compiling JSONSchema JSONSchema+Combined.swift
[347/353] Compiling JSONSchema JSONSchema+Null.swift
[348/353] Compiling JSONSchema JSONSchema+Boolean.swift
[349/353] Emitting module JSONSchema
[350/353] Compiling JSONSchema JSONSchema+Object.swift
[353/353] Compiling JSONSchema JSONSchema+Number.swift
[354/354] Compiling JSONSchema JSONSchema.swift
[355/365] Compiling JSONSchemaValidator StringValidator.swift
[356/366] Compiling JSONSchemaValidator FormatValidator.swift
[357/366] Compiling JSONSchemaValidator CombinatorsValidator.swift
[358/366] Compiling JSONSchemaValidator ObjectValidator.swift
[359/366] Compiling JSONSchemaValidator EnumValidator.swift
[360/366] Compiling JSONSchemaValidator ArrayValidator.swift
[361/366] Compiling JSONSchemaValidator ValidationError.swift
[362/366] Emitting module JSONSchemaValidator
[363/366] Compiling JSONSchemaValidator JSONSchemaValidating.swift
[364/366] Compiling JSONSchemaValidator JSONSchemaValidator.swift
[365/366] Compiling JSONSchemaValidator NumberValidator.swift
[366/366] Compiling JSONSchemaValidator TypeValidator.swift
[367/415] Emitting module JSONSchemaForm
[368/420] Compiling JSONSchemaForm EnumValue.swift
[369/420] Compiling JSONSchemaForm FormData.swift
[370/420] Compiling JSONSchemaForm ConditionEvaluator.swift
[371/420] Compiling JSONSchemaForm PropertyOrderExtractor.swift
[372/420] Compiling JSONSchemaForm RegistryUtils.swift
[373/420] Compiling JSONSchemaForm SchemaMerger.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Utils/SchemaUtils.swift:91:9: warning: variable 'idSchema' was never mutated; consider changing to 'let' constant
89 | /// Creates an ID schema based on the JSON schema structure
90 | func createIdSchema(schema: JSONSchema, id: String, formData: Any?) -> [String: Any] {
91 | var idSchema: [String: Any] = ["$id": id]
| `- warning: variable 'idSchema' was never mutated; consider changing to 'let' constant
92 |
93 | // // For object schemas, create ids for each property
[374/420] Compiling JSONSchemaForm SchemaPreprocessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Utils/SchemaUtils.swift:91:9: warning: variable 'idSchema' was never mutated; consider changing to 'let' constant
89 | /// Creates an ID schema based on the JSON schema structure
90 | func createIdSchema(schema: JSONSchema, id: String, formData: Any?) -> [String: Any] {
91 | var idSchema: [String: Any] = ["$id": id]
| `- warning: variable 'idSchema' was never mutated; consider changing to 'let' constant
92 |
93 | // // For object schemas, create ids for each property
[375/420] Compiling JSONSchemaForm SchemaUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Utils/SchemaUtils.swift:91:9: warning: variable 'idSchema' was never mutated; consider changing to 'let' constant
89 | /// Creates an ID schema based on the JSON schema structure
90 | func createIdSchema(schema: JSONSchema, id: String, formData: Any?) -> [String: Any] {
91 | var idSchema: [String: Any] = ["$id": id]
| `- warning: variable 'idSchema' was never mutated; consider changing to 'let' constant
92 |
93 | // // For object schemas, create ids for each property
[376/420] Compiling JSONSchemaForm UISchemaUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Utils/SchemaUtils.swift:91:9: warning: variable 'idSchema' was never mutated; consider changing to 'let' constant
89 | /// Creates an ID schema based on the JSON schema structure
90 | func createIdSchema(schema: JSONSchema, id: String, formData: Any?) -> [String: Any] {
91 | var idSchema: [String: Any] = ["$id": id]
| `- warning: variable 'idSchema' was never mutated; consider changing to 'let' constant
92 |
93 | // // For object schemas, create ids for each property
[377/420] Compiling JSONSchemaForm Validation.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Utils/SchemaUtils.swift:91:9: warning: variable 'idSchema' was never mutated; consider changing to 'let' constant
89 | /// Creates an ID schema based on the JSON schema structure
90 | func createIdSchema(schema: JSONSchema, id: String, formData: Any?) -> [String: Any] {
91 | var idSchema: [String: Any] = ["$id": id]
| `- warning: variable 'idSchema' was never mutated; consider changing to 'let' constant
92 |
93 | // // For object schemas, create ids for each property
[378/420] Compiling JSONSchemaForm ArrayFieldTemplate.swift
[379/420] Compiling JSONSchemaForm ArrayFieldTitleTemplate.swift
[380/420] Compiling JSONSchemaForm BaseInputTemplate.swift
[381/420] Compiling JSONSchemaForm AddButton.swift
[382/420] Compiling JSONSchemaForm ButtonTemplates.swift
[383/420] Compiling JSONSchemaForm IconButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Templates/DescriptionFieldTemplate.swift:14:46: warning: conditional cast from 'String' to 'String' always succeeds
12 | var body: some View {
13 | if let description = description {
14 | if let description = description as? String {
| `- warning: conditional cast from 'String' to 'String' always succeeds
15 | Text(description)
16 | .id(id)
[384/420] Compiling JSONSchemaForm SubmitButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Templates/DescriptionFieldTemplate.swift:14:46: warning: conditional cast from 'String' to 'String' always succeeds
12 | var body: some View {
13 | if let description = description {
14 | if let description = description as? String {
| `- warning: conditional cast from 'String' to 'String' always succeeds
15 | Text(description)
16 | .id(id)
[385/420] Compiling JSONSchemaForm DescriptionFieldTemplate.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Templates/DescriptionFieldTemplate.swift:14:46: warning: conditional cast from 'String' to 'String' always succeeds
12 | var body: some View {
13 | if let description = description {
14 | if let description = description as? String {
| `- warning: conditional cast from 'String' to 'String' always succeeds
15 | Text(description)
16 | .id(id)
[386/420] Compiling JSONSchemaForm ErrorListTemplate.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Templates/DescriptionFieldTemplate.swift:14:46: warning: conditional cast from 'String' to 'String' always succeeds
12 | var body: some View {
13 | if let description = description {
14 | if let description = description as? String {
| `- warning: conditional cast from 'String' to 'String' always succeeds
15 | Text(description)
16 | .id(id)
[387/420] Compiling JSONSchemaForm FieldErrorTemplate.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Templates/DescriptionFieldTemplate.swift:14:46: warning: conditional cast from 'String' to 'String' always succeeds
12 | var body: some View {
13 | if let description = description {
14 | if let description = description as? String {
| `- warning: conditional cast from 'String' to 'String' always succeeds
15 | Text(description)
16 | .id(id)
[388/420] Compiling JSONSchemaForm FieldHelpTemplate.swift
[389/420] Compiling JSONSchemaForm FieldTemplate.swift
[390/420] Compiling JSONSchemaForm ObjectFieldTemplate.swift
[391/420] Compiling JSONSchemaForm RegistryTemplates.swift
[392/420] Compiling JSONSchemaForm TemplateProps.swift
[393/420] Compiling JSONSchemaForm Templates.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Templates/WrapIfAdditionalTemplate.swift:33:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead. [#DeprecatedDeclaration]
31 | .textFieldStyle(RoundedBorderTextFieldStyle())
32 | .frame(maxWidth: 200)
33 | .onChange(of: label) { newValue in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead. [#DeprecatedDeclaration]
34 | onKeyChange(newValue)()
35 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[394/420] Compiling JSONSchemaForm TitleFieldTemplate.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Templates/WrapIfAdditionalTemplate.swift:33:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead. [#DeprecatedDeclaration]
31 | .textFieldStyle(RoundedBorderTextFieldStyle())
32 | .frame(maxWidth: 200)
33 | .onChange(of: label) { newValue in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead. [#DeprecatedDeclaration]
34 | onKeyChange(newValue)()
35 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[395/420] Compiling JSONSchemaForm UnsupportedFieldTemplate.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Templates/WrapIfAdditionalTemplate.swift:33:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead. [#DeprecatedDeclaration]
31 | .textFieldStyle(RoundedBorderTextFieldStyle())
32 | .frame(maxWidth: 200)
33 | .onChange(of: label) { newValue in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead. [#DeprecatedDeclaration]
34 | onKeyChange(newValue)()
35 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[396/420] Compiling JSONSchemaForm WrapIfAdditionalTemplate.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Templates/WrapIfAdditionalTemplate.swift:33:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead. [#DeprecatedDeclaration]
31 | .textFieldStyle(RoundedBorderTextFieldStyle())
32 | .frame(maxWidth: 200)
33 | .onChange(of: label) { newValue in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead. [#DeprecatedDeclaration]
34 | onKeyChange(newValue)()
35 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[397/420] Compiling JSONSchemaForm Theme.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Templates/WrapIfAdditionalTemplate.swift:33:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead. [#DeprecatedDeclaration]
31 | .textFieldStyle(RoundedBorderTextFieldStyle())
32 | .frame(maxWidth: 200)
33 | .onChange(of: label) { newValue in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead. [#DeprecatedDeclaration]
34 | onKeyChange(newValue)()
35 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[398/420] Compiling JSONSchemaForm UnsupportedField.swift
[399/420] Compiling JSONSchemaForm JSONSchemaForm.swift
[400/420] Compiling JSONSchemaForm Registry.swift
[401/420] Compiling JSONSchemaForm ArrayFieldDescriptionTemplate.swift
[402/420] Compiling JSONSchemaForm ArrayFieldItemTemplate.swift
[403/420] Compiling JSONSchemaForm DescriptionField.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:167:64: warning: expression implicitly coerced from 'Any?' to 'Any'
165 | .id("\(id)_enum_field")
166 | .onChange(of: value) { _, newValue in
167 | self.formData.wrappedValue = .fromValueType(value: newValue.value)
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:201:50: warning: expression implicitly coerced from 'Any?' to 'Any'
199 | Text(option.displayName)
200 | .tag(option)
201 | .disabled(isDisabled(option.value))
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
202 | }
203 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:238:58: warning: expression implicitly coerced from 'Any?' to 'Any'
236 | } label: {
237 | HStack {
238 | Image(systemName: isSelected(option.value) ? "circle.fill" : "circle")
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
239 | Text(option.displayName)
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:244:42: warning: expression implicitly coerced from 'Any?' to 'Any'
242 | }
243 | .buttonStyle(.plain)
244 | .disabled(isDisabled(option.value))
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
245 | .opacity(isDisabled(option.value) ? 0.5 : 1.0)
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:245:41: warning: expression implicitly coerced from 'Any?' to 'Any'
243 | .buttonStyle(.plain)
244 | .disabled(isDisabled(option.value))
245 | .opacity(isDisabled(option.value) ? 0.5 : 1.0)
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
246 | }
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:254:44: warning: cast from 'EnumValue' to unrelated type 'String' always fails
252 | private func isSelected(_ value: Any) -> Bool {
253 | let selectedValue = selection.wrappedValue
254 | if let selectedStr = selectedValue as? String,
| `- warning: cast from 'EnumValue' to unrelated type 'String' always fails
255 | let valueStr = value as? String
256 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:258:52: warning: cast from 'EnumValue' to unrelated type 'Bool' always fails
256 | {
257 | return selectedStr == valueStr
258 | } else if let selectedBool = selectedValue as? Bool,
| `- warning: cast from 'EnumValue' to unrelated type 'Bool' always fails
259 | let valueBool = value as? Bool
260 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:262:51: warning: cast from 'EnumValue' to unrelated type 'Double' always fails
260 | {
261 | return selectedBool == valueBool
262 | } else if let selectedNum = selectedValue as? Double,
| `- warning: cast from 'EnumValue' to unrelated type 'Double' always fails
263 | let valueNum = value as? Double
264 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:266:51: warning: cast from 'EnumValue' to unrelated type 'Int' always fails
264 | {
265 | return selectedNum == valueNum
266 | } else if let selectedInt = selectedValue as? Int,
| `- warning: cast from 'EnumValue' to unrelated type 'Int' always fails
267 | let valueInt = value as? Int
268 | {
[404/420] Compiling JSONSchemaForm EnumField.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:167:64: warning: expression implicitly coerced from 'Any?' to 'Any'
165 | .id("\(id)_enum_field")
166 | .onChange(of: value) { _, newValue in
167 | self.formData.wrappedValue = .fromValueType(value: newValue.value)
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:201:50: warning: expression implicitly coerced from 'Any?' to 'Any'
199 | Text(option.displayName)
200 | .tag(option)
201 | .disabled(isDisabled(option.value))
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
202 | }
203 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:238:58: warning: expression implicitly coerced from 'Any?' to 'Any'
236 | } label: {
237 | HStack {
238 | Image(systemName: isSelected(option.value) ? "circle.fill" : "circle")
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
239 | Text(option.displayName)
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:244:42: warning: expression implicitly coerced from 'Any?' to 'Any'
242 | }
243 | .buttonStyle(.plain)
244 | .disabled(isDisabled(option.value))
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
245 | .opacity(isDisabled(option.value) ? 0.5 : 1.0)
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:245:41: warning: expression implicitly coerced from 'Any?' to 'Any'
243 | .buttonStyle(.plain)
244 | .disabled(isDisabled(option.value))
245 | .opacity(isDisabled(option.value) ? 0.5 : 1.0)
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
246 | }
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:254:44: warning: cast from 'EnumValue' to unrelated type 'String' always fails
252 | private func isSelected(_ value: Any) -> Bool {
253 | let selectedValue = selection.wrappedValue
254 | if let selectedStr = selectedValue as? String,
| `- warning: cast from 'EnumValue' to unrelated type 'String' always fails
255 | let valueStr = value as? String
256 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:258:52: warning: cast from 'EnumValue' to unrelated type 'Bool' always fails
256 | {
257 | return selectedStr == valueStr
258 | } else if let selectedBool = selectedValue as? Bool,
| `- warning: cast from 'EnumValue' to unrelated type 'Bool' always fails
259 | let valueBool = value as? Bool
260 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:262:51: warning: cast from 'EnumValue' to unrelated type 'Double' always fails
260 | {
261 | return selectedBool == valueBool
262 | } else if let selectedNum = selectedValue as? Double,
| `- warning: cast from 'EnumValue' to unrelated type 'Double' always fails
263 | let valueNum = value as? Double
264 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:266:51: warning: cast from 'EnumValue' to unrelated type 'Int' always fails
264 | {
265 | return selectedNum == valueNum
266 | } else if let selectedInt = selectedValue as? Int,
| `- warning: cast from 'EnumValue' to unrelated type 'Int' always fails
267 | let valueInt = value as? Int
268 | {
[405/420] Compiling JSONSchemaForm Fields.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:167:64: warning: expression implicitly coerced from 'Any?' to 'Any'
165 | .id("\(id)_enum_field")
166 | .onChange(of: value) { _, newValue in
167 | self.formData.wrappedValue = .fromValueType(value: newValue.value)
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:201:50: warning: expression implicitly coerced from 'Any?' to 'Any'
199 | Text(option.displayName)
200 | .tag(option)
201 | .disabled(isDisabled(option.value))
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
202 | }
203 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:238:58: warning: expression implicitly coerced from 'Any?' to 'Any'
236 | } label: {
237 | HStack {
238 | Image(systemName: isSelected(option.value) ? "circle.fill" : "circle")
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
239 | Text(option.displayName)
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:244:42: warning: expression implicitly coerced from 'Any?' to 'Any'
242 | }
243 | .buttonStyle(.plain)
244 | .disabled(isDisabled(option.value))
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
245 | .opacity(isDisabled(option.value) ? 0.5 : 1.0)
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:245:41: warning: expression implicitly coerced from 'Any?' to 'Any'
243 | .buttonStyle(.plain)
244 | .disabled(isDisabled(option.value))
245 | .opacity(isDisabled(option.value) ? 0.5 : 1.0)
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
246 | }
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:254:44: warning: cast from 'EnumValue' to unrelated type 'String' always fails
252 | private func isSelected(_ value: Any) -> Bool {
253 | let selectedValue = selection.wrappedValue
254 | if let selectedStr = selectedValue as? String,
| `- warning: cast from 'EnumValue' to unrelated type 'String' always fails
255 | let valueStr = value as? String
256 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:258:52: warning: cast from 'EnumValue' to unrelated type 'Bool' always fails
256 | {
257 | return selectedStr == valueStr
258 | } else if let selectedBool = selectedValue as? Bool,
| `- warning: cast from 'EnumValue' to unrelated type 'Bool' always fails
259 | let valueBool = value as? Bool
260 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:262:51: warning: cast from 'EnumValue' to unrelated type 'Double' always fails
260 | {
261 | return selectedBool == valueBool
262 | } else if let selectedNum = selectedValue as? Double,
| `- warning: cast from 'EnumValue' to unrelated type 'Double' always fails
263 | let valueNum = value as? Double
264 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:266:51: warning: cast from 'EnumValue' to unrelated type 'Int' always fails
264 | {
265 | return selectedNum == valueNum
266 | } else if let selectedInt = selectedValue as? Int,
| `- warning: cast from 'EnumValue' to unrelated type 'Int' always fails
267 | let valueInt = value as? Int
268 | {
[406/420] Compiling JSONSchemaForm InvalidValueType.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:167:64: warning: expression implicitly coerced from 'Any?' to 'Any'
165 | .id("\(id)_enum_field")
166 | .onChange(of: value) { _, newValue in
167 | self.formData.wrappedValue = .fromValueType(value: newValue.value)
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:201:50: warning: expression implicitly coerced from 'Any?' to 'Any'
199 | Text(option.displayName)
200 | .tag(option)
201 | .disabled(isDisabled(option.value))
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
202 | }
203 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:238:58: warning: expression implicitly coerced from 'Any?' to 'Any'
236 | } label: {
237 | HStack {
238 | Image(systemName: isSelected(option.value) ? "circle.fill" : "circle")
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
239 | Text(option.displayName)
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:244:42: warning: expression implicitly coerced from 'Any?' to 'Any'
242 | }
243 | .buttonStyle(.plain)
244 | .disabled(isDisabled(option.value))
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
245 | .opacity(isDisabled(option.value) ? 0.5 : 1.0)
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:245:41: warning: expression implicitly coerced from 'Any?' to 'Any'
243 | .buttonStyle(.plain)
244 | .disabled(isDisabled(option.value))
245 | .opacity(isDisabled(option.value) ? 0.5 : 1.0)
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
246 | }
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:254:44: warning: cast from 'EnumValue' to unrelated type 'String' always fails
252 | private func isSelected(_ value: Any) -> Bool {
253 | let selectedValue = selection.wrappedValue
254 | if let selectedStr = selectedValue as? String,
| `- warning: cast from 'EnumValue' to unrelated type 'String' always fails
255 | let valueStr = value as? String
256 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:258:52: warning: cast from 'EnumValue' to unrelated type 'Bool' always fails
256 | {
257 | return selectedStr == valueStr
258 | } else if let selectedBool = selectedValue as? Bool,
| `- warning: cast from 'EnumValue' to unrelated type 'Bool' always fails
259 | let valueBool = value as? Bool
260 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:262:51: warning: cast from 'EnumValue' to unrelated type 'Double' always fails
260 | {
261 | return selectedBool == valueBool
262 | } else if let selectedNum = selectedValue as? Double,
| `- warning: cast from 'EnumValue' to unrelated type 'Double' always fails
263 | let valueNum = value as? Double
264 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:266:51: warning: cast from 'EnumValue' to unrelated type 'Int' always fails
264 | {
265 | return selectedNum == valueNum
266 | } else if let selectedInt = selectedValue as? Int,
| `- warning: cast from 'EnumValue' to unrelated type 'Int' always fails
267 | let valueInt = value as? Int
268 | {
[407/420] Compiling JSONSchemaForm MultiSchemaField.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:167:64: warning: expression implicitly coerced from 'Any?' to 'Any'
165 | .id("\(id)_enum_field")
166 | .onChange(of: value) { _, newValue in
167 | self.formData.wrappedValue = .fromValueType(value: newValue.value)
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:201:50: warning: expression implicitly coerced from 'Any?' to 'Any'
199 | Text(option.displayName)
200 | .tag(option)
201 | .disabled(isDisabled(option.value))
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
202 | }
203 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:238:58: warning: expression implicitly coerced from 'Any?' to 'Any'
236 | } label: {
237 | HStack {
238 | Image(systemName: isSelected(option.value) ? "circle.fill" : "circle")
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
239 | Text(option.displayName)
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:244:42: warning: expression implicitly coerced from 'Any?' to 'Any'
242 | }
243 | .buttonStyle(.plain)
244 | .disabled(isDisabled(option.value))
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
245 | .opacity(isDisabled(option.value) ? 0.5 : 1.0)
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:245:41: warning: expression implicitly coerced from 'Any?' to 'Any'
243 | .buttonStyle(.plain)
244 | .disabled(isDisabled(option.value))
245 | .opacity(isDisabled(option.value) ? 0.5 : 1.0)
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
246 | }
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:254:44: warning: cast from 'EnumValue' to unrelated type 'String' always fails
252 | private func isSelected(_ value: Any) -> Bool {
253 | let selectedValue = selection.wrappedValue
254 | if let selectedStr = selectedValue as? String,
| `- warning: cast from 'EnumValue' to unrelated type 'String' always fails
255 | let valueStr = value as? String
256 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:258:52: warning: cast from 'EnumValue' to unrelated type 'Bool' always fails
256 | {
257 | return selectedStr == valueStr
258 | } else if let selectedBool = selectedValue as? Bool,
| `- warning: cast from 'EnumValue' to unrelated type 'Bool' always fails
259 | let valueBool = value as? Bool
260 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:262:51: warning: cast from 'EnumValue' to unrelated type 'Double' always fails
260 | {
261 | return selectedBool == valueBool
262 | } else if let selectedNum = selectedValue as? Double,
| `- warning: cast from 'EnumValue' to unrelated type 'Double' always fails
263 | let valueNum = value as? Double
264 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:266:51: warning: cast from 'EnumValue' to unrelated type 'Int' always fails
264 | {
265 | return selectedNum == valueNum
266 | } else if let selectedInt = selectedValue as? Int,
| `- warning: cast from 'EnumValue' to unrelated type 'Int' always fails
267 | let valueInt = value as? Int
268 | {
[408/420] Compiling JSONSchemaForm NullField.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:167:64: warning: expression implicitly coerced from 'Any?' to 'Any'
165 | .id("\(id)_enum_field")
166 | .onChange(of: value) { _, newValue in
167 | self.formData.wrappedValue = .fromValueType(value: newValue.value)
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:201:50: warning: expression implicitly coerced from 'Any?' to 'Any'
199 | Text(option.displayName)
200 | .tag(option)
201 | .disabled(isDisabled(option.value))
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
202 | }
203 | } label: {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:238:58: warning: expression implicitly coerced from 'Any?' to 'Any'
236 | } label: {
237 | HStack {
238 | Image(systemName: isSelected(option.value) ? "circle.fill" : "circle")
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
239 | Text(option.displayName)
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:244:42: warning: expression implicitly coerced from 'Any?' to 'Any'
242 | }
243 | .buttonStyle(.plain)
244 | .disabled(isDisabled(option.value))
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
245 | .opacity(isDisabled(option.value) ? 0.5 : 1.0)
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:245:41: warning: expression implicitly coerced from 'Any?' to 'Any'
243 | .buttonStyle(.plain)
244 | .disabled(isDisabled(option.value))
245 | .opacity(isDisabled(option.value) ? 0.5 : 1.0)
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
246 | }
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:254:44: warning: cast from 'EnumValue' to unrelated type 'String' always fails
252 | private func isSelected(_ value: Any) -> Bool {
253 | let selectedValue = selection.wrappedValue
254 | if let selectedStr = selectedValue as? String,
| `- warning: cast from 'EnumValue' to unrelated type 'String' always fails
255 | let valueStr = value as? String
256 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:258:52: warning: cast from 'EnumValue' to unrelated type 'Bool' always fails
256 | {
257 | return selectedStr == valueStr
258 | } else if let selectedBool = selectedValue as? Bool,
| `- warning: cast from 'EnumValue' to unrelated type 'Bool' always fails
259 | let valueBool = value as? Bool
260 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:262:51: warning: cast from 'EnumValue' to unrelated type 'Double' always fails
260 | {
261 | return selectedBool == valueBool
262 | } else if let selectedNum = selectedValue as? Double,
| `- warning: cast from 'EnumValue' to unrelated type 'Double' always fails
263 | let valueNum = value as? Double
264 | {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/EnumField.swift:266:51: warning: cast from 'EnumValue' to unrelated type 'Int' always fails
264 | {
265 | return selectedNum == valueNum
266 | } else if let selectedInt = selectedValue as? Int,
| `- warning: cast from 'EnumValue' to unrelated type 'Int' always fails
267 | let valueInt = value as? Int
268 | {
[409/420] Compiling JSONSchemaForm FormContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Controller/JSONSchemaFormController.swift:255:38: warning: 'as' test is always true
253 | isValid = true
254 | return true
255 | } catch let validationErrors as [ValidationError] {
| `- warning: 'as' test is always true
256 | var processedErrors = validationErrors
257 | if let transform = transformErrors {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/BooleanField.swift:46:34: warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
44 | var body: some View {
45 | VStack(alignment: .leading) {
46 | if case .boolean(let value) = formData.wrappedValue {
| `- warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
47 | switch widget {
48 | case "radio":
[410/420] Compiling JSONSchemaForm JSONSchemaFormController.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Controller/JSONSchemaFormController.swift:255:38: warning: 'as' test is always true
253 | isValid = true
254 | return true
255 | } catch let validationErrors as [ValidationError] {
| `- warning: 'as' test is always true
256 | var processedErrors = validationErrors
257 | if let transform = transformErrors {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/BooleanField.swift:46:34: warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
44 | var body: some View {
45 | VStack(alignment: .leading) {
46 | if case .boolean(let value) = formData.wrappedValue {
| `- warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
47 | switch widget {
48 | case "radio":
[411/420] Compiling JSONSchemaForm AllOfField.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Controller/JSONSchemaFormController.swift:255:38: warning: 'as' test is always true
253 | isValid = true
254 | return true
255 | } catch let validationErrors as [ValidationError] {
| `- warning: 'as' test is always true
256 | var processedErrors = validationErrors
257 | if let transform = transformErrors {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/BooleanField.swift:46:34: warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
44 | var body: some View {
45 | VStack(alignment: .leading) {
46 | if case .boolean(let value) = formData.wrappedValue {
| `- warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
47 | switch widget {
48 | case "radio":
[412/420] Compiling JSONSchemaForm AnyOfField.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Controller/JSONSchemaFormController.swift:255:38: warning: 'as' test is always true
253 | isValid = true
254 | return true
255 | } catch let validationErrors as [ValidationError] {
| `- warning: 'as' test is always true
256 | var processedErrors = validationErrors
257 | if let transform = transformErrors {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/BooleanField.swift:46:34: warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
44 | var body: some View {
45 | VStack(alignment: .leading) {
46 | if case .boolean(let value) = formData.wrappedValue {
| `- warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
47 | switch widget {
48 | case "radio":
[413/420] Compiling JSONSchemaForm ArrayField.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Controller/JSONSchemaFormController.swift:255:38: warning: 'as' test is always true
253 | isValid = true
254 | return true
255 | } catch let validationErrors as [ValidationError] {
| `- warning: 'as' test is always true
256 | var processedErrors = validationErrors
257 | if let transform = transformErrors {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/BooleanField.swift:46:34: warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
44 | var body: some View {
45 | VStack(alignment: .leading) {
46 | if case .boolean(let value) = formData.wrappedValue {
| `- warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
47 | switch widget {
48 | case "radio":
[414/420] Compiling JSONSchemaForm BooleanField.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Controller/JSONSchemaFormController.swift:255:38: warning: 'as' test is always true
253 | isValid = true
254 | return true
255 | } catch let validationErrors as [ValidationError] {
| `- warning: 'as' test is always true
256 | var processedErrors = validationErrors
257 | if let transform = transformErrors {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSchemaForm/Fields/BooleanField.swift:46:34: warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
44 | var body: some View {
45 | VStack(alignment: .leading) {
46 | if case .boolean(let value) = formData.wrappedValue {
| `- warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
47 | switch widget {
48 | case "radio":
[415/420] Compiling JSONSchemaForm NumberField.swift
[416/420] Compiling JSONSchemaForm ObjectField.swift
[417/420] Compiling JSONSchemaForm OneOfField.swift
[418/420] Compiling JSONSchemaForm SchemaField.swift
[419/420] Compiling JSONSchemaForm StringField.swift
[420/420] Compiling JSONSchemaForm TitleField.swift
Build complete! (16.65s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-json-schema",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sirily11/swift-json-schema"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections"
},
{
"identity" : "viewinspector",
"requirement" : {
"range" : [
{
"lower_bound" : "0.10.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nalexn/ViewInspector"
}
],
"manifest_display_name" : "JSONSchemaForm",
"name" : "JSONSchemaForm",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "JSONSchemaForm",
"targets" : [
"JSONSchemaForm"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "JSONSchemaValidator",
"targets" : [
"JSONSchemaValidator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JSONSchemaValidatorTests",
"module_type" : "SwiftTarget",
"name" : "JSONSchemaValidatorTests",
"path" : "Sources/JSONSchemaValidatorTests",
"sources" : [
"ArrayValidatorTests.swift",
"CombinatorsValidatorTests.swift",
"EnumValidatorTests.swift",
"FormatValidatorTests.swift",
"IntegrationTests.swift",
"JSONSchemaTypeTests.swift",
"NumberValidatorTests.swift",
"ObjectValidatorTests.swift",
"StringValidatorTests.swift",
"TypeValidatorTests.swift"
],
"target_dependencies" : [
"JSONSchemaValidator"
],
"type" : "test"
},
{
"c99name" : "JSONSchemaValidator",
"module_type" : "SwiftTarget",
"name" : "JSONSchemaValidator",
"path" : "Sources/JSONSchemaValidator",
"product_dependencies" : [
"JSONSchema"
],
"product_memberships" : [
"JSONSchemaForm",
"JSONSchemaValidator"
],
"sources" : [
"JSONSchemaValidating.swift",
"JSONSchemaValidator.swift",
"ValidationError.swift",
"Validators/ArrayValidator.swift",
"Validators/CombinatorsValidator.swift",
"Validators/EnumValidator.swift",
"Validators/FormatValidator.swift",
"Validators/NumberValidator.swift",
"Validators/ObjectValidator.swift",
"Validators/StringValidator.swift",
"Validators/TypeValidator.swift"
],
"type" : "library"
},
{
"c99name" : "JSONSchemaFormTests",
"module_type" : "SwiftTarget",
"name" : "JSONSchemaFormTests",
"path" : "Sources/JSONSchemaFormTests",
"product_dependencies" : [
"ViewInspector"
],
"sources" : [
"FieldTemplateTests.swift",
"FormDataEncodableTests.swift",
"JSONSchemaForm+AllOfTests.swift",
"JSONSchemaForm+ArrayTests.swift",
"JSONSchemaForm+BooleanTests.swift",
"JSONSchemaForm+ControllerTests.swift",
"JSONSchemaForm+DefaultWithRefsTests.swift",
"JSONSchemaForm+EnumTests.swift",
"JSONSchemaForm+FieldOrderTests.swift",
"JSONSchemaForm+IfThenElseTests.swift",
"JSONSchemaForm+NumberTests.swift",
"JSONSchemaForm+ObjectTests.swift",
"JSONSchemaForm+OneOfTests.swift",
"JSONSchemaForm+SchemaTests.swift",
"JSONSchemaForm+StringTests.swift",
"JSONSchemaForm+StringWidgetTests.swift",
"JSONSchemaFormControllerTests.swift",
"TestSchema.swift"
],
"target_dependencies" : [
"JSONSchemaForm"
],
"type" : "test"
},
{
"c99name" : "JSONSchemaForm",
"module_type" : "SwiftTarget",
"name" : "JSONSchemaForm",
"path" : "Sources/JSONSchemaForm",
"product_dependencies" : [
"JSONSchema",
"Collections"
],
"product_memberships" : [
"JSONSchemaForm"
],
"sources" : [
"Controller/FormContext.swift",
"Controller/JSONSchemaFormController.swift",
"Fields/AllOfField.swift",
"Fields/AnyOfField.swift",
"Fields/ArrayField.swift",
"Fields/BooleanField.swift",
"Fields/DescriptionField.swift",
"Fields/EnumField.swift",
"Fields/Fields.swift",
"Fields/InvalidValueType.swift",
"Fields/MultiSchemaField.swift",
"Fields/NullField.swift",
"Fields/NumberField.swift",
"Fields/ObjectField.swift",
"Fields/OneOfField.swift",
"Fields/SchemaField.swift",
"Fields/StringField.swift",
"Fields/TitleField.swift",
"Fields/UnsupportedField.swift",
"JSONSchemaForm.swift",
"Registry.swift",
"Templates/ArrayFieldDescriptionTemplate.swift",
"Templates/ArrayFieldItemTemplate.swift",
"Templates/ArrayFieldTemplate.swift",
"Templates/ArrayFieldTitleTemplate.swift",
"Templates/BaseInputTemplate.swift",
"Templates/ButtonTemplates/AddButton.swift",
"Templates/ButtonTemplates/ButtonTemplates.swift",
"Templates/ButtonTemplates/IconButton.swift",
"Templates/ButtonTemplates/SubmitButton.swift",
"Templates/DescriptionFieldTemplate.swift",
"Templates/ErrorListTemplate.swift",
"Templates/FieldErrorTemplate.swift",
"Templates/FieldHelpTemplate.swift",
"Templates/FieldTemplate.swift",
"Templates/ObjectFieldTemplate.swift",
"Templates/RegistryTemplates.swift",
"Templates/TemplateProps.swift",
"Templates/Templates.swift",
"Templates/TitleFieldTemplate.swift",
"Templates/UnsupportedFieldTemplate.swift",
"Templates/WrapIfAdditionalTemplate.swift",
"Theme.swift",
"Types/EnumValue.swift",
"Types/FormData.swift",
"Utils/ConditionEvaluator.swift",
"Utils/PropertyOrderExtractor.swift",
"Utils/RegistryUtils.swift",
"Utils/SchemaMerger.swift",
"Utils/SchemaPreprocessor.swift",
"Utils/SchemaUtils.swift",
"Utils/UISchemaUtils.swift",
"Utils/Validation.swift"
],
"target_dependencies" : [
"JSONSchemaValidator"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.