Build Information
Failed to build swift-asyncapi, reference main (fa420b), with Swift 6.2 for Android on 3 Jul 2025 04:07:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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-asyncapi.git
Reference: main
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-asyncapi
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fa420b9 Downgrade swift tools version (#15)
Cloned https://github.com/ajevans99/swift-asyncapi.git
Revision (git rev-parse @):
fa420b9d6b75e88b2177bdfc5c28917ac4cc072e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ajevans99/swift-asyncapi.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/ajevans99/swift-asyncapi.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/jpsim/Yams.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/ajevans99/swift-json-schema.git
[1/4344] Fetching swift-json-schema
[4345/15286] Fetching swift-json-schema, yams
[12114/29971] Fetching swift-json-schema, yams, swift-snapshot-testing
Fetched https://github.com/jpsim/Yams.git from cache (1.15s)
[8603/19029] Fetching swift-json-schema, swift-snapshot-testing
Fetched https://github.com/ajevans99/swift-json-schema.git from cache (2.18s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.25s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.0.2 (2.56s)
Computing version for https://github.com/ajevans99/swift-json-schema.git
Computed https://github.com/ajevans99/swift-json-schema.git at 0.8.0 (0.34s)
Fetching https://github.com/swiftlang/swift-syntax
[1/71169] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.59s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (7.05s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.33s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.29s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.62s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.61s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.91s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
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/ajevans99/swift-json-schema.git
Working copy of https://github.com/ajevans99/swift-json-schema.git resolved at 0.8.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.0.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Building for debugging...
[0/46] Write sources
[0/46] Copying content.json
[0/46] Copying applicator.json
[0/46] Write sources
[20/46] Copying meta-data.json
[20/46] Copying schema.json
[21/46] Copying unevaluated.json
[22/46] Copying validation.json
[22/46] Copying format-annotation.json
[25/46] Copying core.json
[26/46] Write sources
[27/46] Compiling _SwiftSyntaxCShims dummy.c
[28/46] Write swift-version-8C5A4AE7A8CE2BA.txt
[30/80] Emitting module JSONSchema
[31/83] Emitting module SwiftSyntax509
[32/83] Compiling SwiftSyntax509 Empty.swift
[33/84] Emitting module SwiftSyntax600
[34/84] Compiling SwiftSyntax600 Empty.swift
[36/85] Emitting module SwiftSyntax510
[37/85] Compiling SwiftSyntax510 Empty.swift
[39/86] Wrapping AST for SwiftSyntax509 for debugging
[40/86] Wrapping AST for SwiftSyntax600 for debugging
[41/86] Wrapping AST for SwiftSyntax510 for debugging
[43/150] Compiling SwiftSyntax AbsolutePosition.swift
[44/150] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[45/150] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[46/150] Compiling SwiftSyntax Assert.swift
[47/150] Compiling SwiftSyntax BumpPtrAllocator.swift
[48/150] Compiling SwiftSyntax CommonAncestor.swift
[49/150] Compiling SwiftSyntax Convenience.swift
[50/150] Compiling SwiftSyntax CustomTraits.swift
[51/150] Compiling SwiftSyntax Identifier.swift
[52/158] Compiling SwiftSyntax SourcePresence.swift
[53/158] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[54/158] Compiling SwiftSyntax Syntax.swift
[55/158] Compiling SwiftSyntax SyntaxArena.swift
[56/158] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[57/158] Compiling SwiftSyntax SyntaxChildren.swift
[58/158] Compiling SwiftSyntax SyntaxCollection.swift
[59/158] Compiling SwiftSyntax SyntaxHashable.swift
[60/158] Compiling SwiftSyntax SyntaxIdentifier.swift
[61/158] Compiling SwiftSyntax RawSyntax.swift
[62/158] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[63/158] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[64/158] Compiling SwiftSyntax RawSyntaxTokenView.swift
[65/158] Compiling SwiftSyntax SourceEdit.swift
[66/158] Compiling SwiftSyntax SourceLength.swift
[67/158] Compiling SwiftSyntax SourceLocation.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 =
[76/158] Compiling SwiftSyntax SyntaxNodeFactory.swift
[77/158] Compiling SwiftSyntax SyntaxNodeStructure.swift
[78/158] Compiling SwiftSyntax SyntaxProtocol.swift
[85/158] Compiling SwiftSyntax MemoryLayout.swift
[86/158] Compiling SwiftSyntax MissingNodeInitializers.swift
BUILD FAILURE 6.2 android