Build Information
Failed to build swift-openai, reference v0.1.0 (714419), with Swift 6.2 for Android on 23 Jun 2025 11:49:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ajevans99/swift-openai.git
Reference: v0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/ajevans99/swift-openai
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 714419b Update readme with in progress message:
Cloned https://github.com/ajevans99/swift-openai.git
Revision (git rev-parse @):
714419b0f5eb3da03014c4eb3e1cc15cba4b7479
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ajevans99/swift-openai.git at v0.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/ajevans99/swift-openai.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/ajevans99/swift-json-schema.git
Fetching https://github.com/apple/swift-openapi-runtime.git
Fetching https://github.com/apple/swift-openapi-generator.git
Fetching https://github.com/apple/swift-log.git
[1/4069] Fetching swift-json-schema
[2809/9748] Fetching swift-json-schema, swift-openapi-runtime
[3428/13584] Fetching swift-json-schema, swift-openapi-runtime, swift-log
[6331/29543] Fetching swift-json-schema, swift-openapi-runtime, swift-log, swift-openapi-generator
Fetched https://github.com/ajevans99/swift-json-schema.git from cache (1.06s)
[18453/25474] Fetching swift-openapi-runtime, swift-log, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-runtime.git from cache (1.06s)
[12933/19795] Fetching swift-log, swift-openapi-generator
Fetched https://github.com/apple/swift-log.git from cache (1.07s)
[11491/15959] Fetching swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-generator.git from cache (1.70s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.8.2 (2.56s)
Fetching https://github.com/apple/swift-http-types
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.41s)
Computing version for https://github.com/apple/swift-openapi-generator.git
Computed https://github.com/apple/swift-openapi-generator.git at 1.9.0 (4.50s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-algorithms
[1/5959] Fetching swift-algorithms
[359/16833] Fetching swift-algorithms, yams
[1075/33473] Fetching swift-algorithms, yams, swift-collections
[7041/48853] Fetching swift-algorithms, yams, swift-collections, swift-argument-parser
[11358/138598] Fetching swift-algorithms, yams, swift-collections, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-algorithms from cache (1.00s)
[11612/132639] Fetching yams, swift-collections, swift-argument-parser, openapikit
Fetched https://github.com/jpsim/Yams from cache (3.32s)
[63431/121765] Fetching swift-collections, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-argument-parser from cache (8.56s)
Fetched https://github.com/apple/swift-collections from cache (8.61s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (8.68s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (9.81s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.86s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.67s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.47s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.80s)
Computing version for https://github.com/ajevans99/swift-json-schema.git
Computed https://github.com/ajevans99/swift-json-schema.git at 0.7.3 (0.73s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70927] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (8.63s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (9.86s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.5.2 (0.80s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.76s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.65s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.1 (0.73s)
Creating working copy for https://github.com/ajevans99/swift-json-schema.git
Working copy of https://github.com/ajevans99/swift-json-schema.git resolved at 0.7.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-openapi-generator.git
Working copy of https://github.com/apple/swift-openapi-generator.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-openapi-runtime.git
Working copy of https://github.com/apple/swift-openapi-runtime.git resolved at 1.8.2
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.5.2
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.0.1
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/53] Write sources
[3/53] Copying format-annotation.json
[3/53] Copying core.json
[3/53] Copying content.json
[3/53] Copying applicator.json
[3/53] Write sources
[3/53] Copying validation.json
[3/53] Copying unevaluated.json
[3/53] Copying schema.json
[3/53] Copying meta-data.json
[22/53] Write sources
[34/53] Compiling _SwiftSyntaxCShims dummy.c
[35/53] Write swift-version-8C5A4AE7A8CE2BA.txt
[37/100] Emitting module HTTPTypes
[38/101] Emitting module SwiftSyntax600
[39/101] Compiling SwiftSyntax600 Empty.swift
[40/102] Wrapping AST for SwiftSyntax600 for debugging
[42/102] Compiling SwiftSyntax510 Empty.swift
[43/102] Emitting module SwiftSyntax510
[45/103] Compiling SwiftSyntax509 Empty.swift
[46/103] Emitting module SwiftSyntax509
[46/104] Wrapping AST for SwiftSyntax510 for debugging
[48/104] Wrapping AST for SwiftSyntax509 for debugging
[50/168] Compiling HTTPTypes ISOLatin1String.swift
[51/168] Compiling HTTPTypes NIOLock.swift
[52/168] Compiling HTTPTypes HTTPRequest.swift
[53/168] Compiling HTTPTypes HTTPParsedFields.swift
[54/168] Compiling HTTPTypes HTTPResponse.swift
[55/168] Compiling Logging MetadataProvider.swift
[56/168] Emitting module Logging
[57/168] Compiling Logging Locks.swift
[58/168] Compiling SwiftSyntax AbsolutePosition.swift
[59/168] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[60/168] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[61/168] Compiling SwiftSyntax Assert.swift
[62/168] Compiling SwiftSyntax BumpPtrAllocator.swift
[63/168] Compiling SwiftSyntax CommonAncestor.swift
[64/168] Compiling SwiftSyntax Convenience.swift
[65/168] Compiling SwiftSyntax CustomTraits.swift
[66/168] Compiling SwiftSyntax Identifier.swift
[67/176] Compiling Logging LogHandler.swift
[68/176] Compiling Logging Logging.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:135:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
133 | "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
134 | #else
135 | guard !url.lastPathComponent.hasPrefix("schema") else { return }
| |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
| |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
136 | let value = try jsonValue(from: url)
137 | let uriString =
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:135:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
133 | "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
134 | #else
135 | guard !url.lastPathComponent.hasPrefix("schema") else { return }
| |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
| |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
136 | let value = try jsonValue(from: url)
137 | let uriString =
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:135:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
133 | "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
134 | #else
135 | guard !url.lastPathComponent.hasPrefix("schema") else { return }
| |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
| |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
136 | let value = try jsonValue(from: url)
137 | let uriString =
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:135:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
133 | "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
134 | #else
135 | guard !url.lastPathComponent.hasPrefix("schema") else { return }
| |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
| |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
136 | let value = try jsonValue(from: url)
137 | let uriString =
[74/177] Emitting module JSONSchema
[75/180] Compiling SwiftSyntax SyntaxChildren.swift
[76/180] Compiling SwiftSyntax SyntaxCollection.swift
[77/180] Compiling SwiftSyntax SyntaxHashable.swift
[78/180] Compiling SwiftSyntax SyntaxIdentifier.swift
[79/180] Compiling SwiftSyntax Syntax.swift
[80/180] Compiling SwiftSyntax SyntaxArena.swift
[81/180] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[82/180] Compiling SwiftSyntax SourceLength.swift
[83/180] Compiling SwiftSyntax SourceLocation.swift
[84/180] Compiling SwiftSyntax SourcePresence.swift
[85/180] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[86/180] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[87/180] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[88/180] Compiling SwiftSyntax RawSyntaxTokenView.swift
[89/180] Compiling SwiftSyntax SourceEdit.swift
[95/180] Compiling SwiftSyntax MemoryLayout.swift
[96/180] Compiling SwiftSyntax MissingNodeInitializers.swift
[97/180] Compiling SwiftSyntax RawSyntax.swift
[116/180] Compiling JSONSchema ValidationLocation.swift
[117/180] Compiling JSONSchema ValidationResult.swift
[118/180] Compiling JSONSchema resource_bundle_accessor.swift
[119/180] Compiling HTTPTypes HTTPFieldName.swift
[120/180] Compiling HTTPTypes HTTPField.swift
[121/180] Compiling HTTPTypes HTTPFields.swift
BUILD FAILURE 6.2 android