The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-asyncapi, reference v0.1.0 (37bd75), with Swift 6.2 for Android on 24 Jun 2025 08:03:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ajevans99/swift-asyncapi.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-asyncapi
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at 37bd75b CI (#1)
Cloned https://github.com/ajevans99/swift-asyncapi.git
Revision (git rev-parse @):
37bd75b0241c346ff2ad5275771f25afea58a6b8
SUCCESS checkout https://github.com/ajevans99/swift-asyncapi.git at v0.1.0
========================================
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-3":/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/4069] Fetching swift-json-schema
[4070/15005] Fetching swift-json-schema, yams
[10523/29056] Fetching swift-json-schema, yams, swift-snapshot-testing
Fetched https://github.com/ajevans99/swift-json-schema.git from cache (1.14s)
[16557/24987] Fetching yams, swift-snapshot-testing
Fetched https://github.com/jpsim/Yams.git from cache (1.19s)
[7167/14051] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.91s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.0.2 (2.23s)
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.40s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70927] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.85s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (7.46s)
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.37s)
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.67s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.01s)
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.65s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (1.02s)
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/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
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/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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.0.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
Building for debugging...
[0/45] Write sources
[0/45] Copying validation.json
[0/45] Copying unevaluated.json
[0/45] Copying schema.json
[0/45] Copying meta-data.json
[0/45] Copying format-annotation.json
[0/45] Copying core.json
[0/45] Copying applicator.json
[0/45] Copying content.json
[0/45] Write sources
[26/45] Compiling _SwiftSyntaxCShims dummy.c
[27/45] Write swift-version-8C5A4AE7A8CE2BA.txt
[29/79] Emitting module SwiftSyntax510
[30/79] Compiling SwiftSyntax510 Empty.swift
[32/80] Emitting module SwiftSyntax600
[33/80] Compiling SwiftSyntax600 Empty.swift
[34/81] Wrapping AST for SwiftSyntax510 for debugging
[36/81] Emitting module SwiftSyntax509
[37/81] Compiling SwiftSyntax509 Empty.swift
[37/81] Wrapping AST for SwiftSyntax600 for debugging
[39/82] Wrapping AST for SwiftSyntax509 for debugging
[41/146] Compiling SwiftSyntax AbsolutePosition.swift
[42/146] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[43/146] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[44/146] Compiling SwiftSyntax Assert.swift
[45/146] Compiling SwiftSyntax BumpPtrAllocator.swift
[46/146] Compiling SwiftSyntax CommonAncestor.swift
[47/146] Compiling SwiftSyntax Convenience.swift
[48/146] Compiling SwiftSyntax CustomTraits.swift
[49/146] Compiling SwiftSyntax Identifier.swift
[50/154] Compiling SwiftSyntax MemoryLayout.swift
[51/154] Compiling SwiftSyntax MissingNodeInitializers.swift
[52/154] Compiling SwiftSyntax RawSyntax.swift
[53/154] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[54/154] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[55/154] Compiling SwiftSyntax RawSyntaxTokenView.swift
[56/154] Compiling SwiftSyntax SourceEdit.swift
[57/154] Compiling SwiftSyntax SourceLength.swift
[58/154] Compiling SwiftSyntax SourceLocation.swift
[59/154] Emitting module JSONSchema
[63/157] Compiling SwiftSyntax SyntaxChildren.swift
[64/157] Compiling SwiftSyntax SyntaxCollection.swift
[65/157] Compiling SwiftSyntax SyntaxHashable.swift
[66/157] Compiling SwiftSyntax SyntaxIdentifier.swift
[70/157] Compiling SwiftSyntax SourcePresence.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 =
[79/157] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[80/157] Compiling SwiftSyntax Syntax.swift
[81/157] Compiling SwiftSyntax SyntaxArena.swift
[82/157] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[87/157] Compiling JSONSchema ValidationLocation.swift
[88/157] Compiling JSONSchema ValidationResult.swift
[89/157] Compiling JSONSchema resource_bundle_accessor.swift
BUILD FAILURE 6.2 android