The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-asyncapi, reference main (fa420b), with Swift 6.1 for Android on 3 Jul 2025 04:08:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: 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.1
Building package at path:  $PWD
https://github.com/ajevans99/swift-asyncapi.git
https://github.com/ajevans99/swift-asyncapi.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-json-schema",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ajevans99/swift-json-schema.git"
    },
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.16.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "swift-asyncapi",
  "name" : "swift-asyncapi",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncAPIGenerator",
      "targets" : [
        "AsyncAPIGenerator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AsyncAPIBuilder",
      "targets" : [
        "AsyncAPIBuilder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncAPIGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncAPIGeneratorTests",
      "path" : "Tests/AsyncAPIGeneratorTests",
      "product_dependencies" : [
        "SnapshotTesting",
        "InlineSnapshotTesting",
        "Yams"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/AsyncAPIGeneratorTests/Resources/3.0.0-without-$id.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/AsyncAPIGeneratorTests/Resources/asyncapi.md",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/AsyncAPIGeneratorTests/Resources/streetlights.yaml",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AsyncAPIGeneratorTests.swift",
        "StreetlightsTests.swift"
      ],
      "target_dependencies" : [
        "AsyncAPIGenerator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncAPIGenerator",
      "module_type" : "SwiftTarget",
      "name" : "AsyncAPIGenerator",
      "path" : "Sources/AsyncAPIGenerator",
      "product_dependencies" : [
        "JSONSchema",
        "JSONSchemaBuilder"
      ],
      "product_memberships" : [
        "AsyncAPIGenerator",
        "AsyncAPIBuilder"
      ],
      "sources" : [
        "AsyncAPI.swift",
        "ReferenceOr.swift",
        "RuntimeTypes.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AsyncAPIBuilderTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncAPIBuilderTests",
      "path" : "Tests/AsyncAPIBuilderTests",
      "product_dependencies" : [
        "SnapshotTesting",
        "InlineSnapshotTesting",
        "Yams"
      ],
      "sources" : [
        "AsyncAPIBuilderTests.swift",
        "BinderRegistryTests.swift",
        "ChannelIntegrationTests.swift",
        "MessageSchemaBuilderTests.swift",
        "OperationMessageBuilderTests.swift"
      ],
      "target_dependencies" : [
        "AsyncAPIBuilder",
        "AsyncAPIGenerator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncAPIBuilder",
      "module_type" : "SwiftTarget",
      "name" : "AsyncAPIBuilder",
      "path" : "Sources/AsyncAPIBuilder",
      "product_dependencies" : [
        "JSONSchema",
        "JSONSchemaBuilder"
      ],
      "product_memberships" : [
        "AsyncAPIBuilder"
      ],
      "sources" : [
        "AsyncAPIDSL.swift",
        "ComponentBuilders.swift",
        "RuntimeRegistry.swift",
        "TransportBindings.swift"
      ],
      "target_dependencies" : [
        "AsyncAPIGenerator"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/ajevans99/swift-json-schema.git
Fetching https://github.com/jpsim/Yams.git
[1/4344] Fetching swift-json-schema
[4345/15286] Fetching swift-json-schema, yams
Fetched https://github.com/ajevans99/swift-json-schema.git from cache (0.35s)
[219/10942] Fetching yams
[5910/25627] Fetching yams, swift-snapshot-testing
Fetched https://github.com/jpsim/Yams.git from cache (1.56s)
[9105/14685] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.82s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.0.2 (3.58s)
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.81s)
Fetching https://github.com/swiftlang/swift-syntax
[1/71169] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (7.53s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (11.81s)
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.88s)
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.47s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.24s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.05s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (1.79s)
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
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/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/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/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Building for debugging...
[0/46] Write sources
[0/46] Copying applicator.json
[0/46] Copying validation.json
[0/46] Copying unevaluated.json
[0/46] Copying meta-data.json
[0/46] Copying core.json
[0/46] Copying content.json
[0/46] Copying format-annotation.json
[0/46] Copying schema.json
[0/46] Write sources
[27/46] Compiling _SwiftSyntaxCShims dummy.c
[28/46] Write swift-version-24593BA9C3E375BF.txt
[30/80] Emitting module SwiftSyntax509
[31/80] Emitting module SwiftSyntax510
[32/80] Emitting module SwiftSyntax600
[33/80] Compiling SwiftSyntax600 Empty.swift
[34/81] Compiling SwiftSyntax509 Empty.swift
[37/82] Compiling SwiftSyntax510 Empty.swift
[38/83] Wrapping AST for SwiftSyntax509 for debugging
[39/83] Wrapping AST for SwiftSyntax600 for debugging
[40/83] Wrapping AST for SwiftSyntax510 for debugging
[42/147] Emitting module JSONSchema
[43/150] Compiling JSONSchema ValidationLocation.swift
[44/150] Compiling JSONSchema ValidationResult.swift
[45/150] Compiling JSONSchema resource_bundle_accessor.swift
[46/150] Compiling SwiftSyntax SyntaxText.swift
[47/150] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[48/150] Compiling SwiftSyntax TokenDiagnostic.swift
[49/150] Compiling SwiftSyntax TokenSequence.swift
[50/150] Compiling SwiftSyntax TokenSyntax.swift
[51/150] Compiling SwiftSyntax Trivia.swift
[52/158] Compiling SwiftSyntax AbsolutePosition.swift
[53/158] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[54/158] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[55/158] Compiling SwiftSyntax Assert.swift
[56/158] Compiling SwiftSyntax BumpPtrAllocator.swift
[57/158] Compiling SwiftSyntax CommonAncestor.swift
[58/158] Compiling SwiftSyntax Convenience.swift
[59/158] Compiling SwiftSyntax CustomTraits.swift
[60/158] Compiling SwiftSyntax Identifier.swift
[64/158] Compiling SwiftSyntax SyntaxArena.swift
[65/158] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[66/158] Compiling SwiftSyntax SyntaxChildren.swift
[67/158] Compiling SwiftSyntax SyntaxCollection.swift
[68/158] Compiling SwiftSyntax SyntaxHashable.swift
[69/158] Compiling SwiftSyntax SyntaxIdentifier.swift
[70/158] Compiling SwiftSyntax MemoryLayout.swift
[71/158] Compiling SwiftSyntax MissingNodeInitializers.swift
[72/158] Compiling SwiftSyntax RawSyntax.swift
[73/158] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[74/158] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[75/158] Compiling SwiftSyntax RawSyntaxTokenView.swift
[76/158] Compiling SwiftSyntax SourceEdit.swift
[77/158] Compiling SwiftSyntax SourceLength.swift
[78/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 =
[88/158] Compiling SwiftSyntax SourcePresence.swift
[89/158] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[90/158] Compiling SwiftSyntax Syntax.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/AsyncAPIBuilderTests/__Snapshots__/AsyncAPIBuilderTests/asyncAPISnapshot.1.yaml
[0/1] Planning build
Building for debugging...
[0/18] Write swift-version-24593BA9C3E375BF.txt
[2/52] Compiling SwiftSyntax509 Empty.swift
[3/52] Emitting module SwiftSyntax509
[4/53] Compiling SwiftSyntax510 Empty.swift
[5/53] Emitting module SwiftSyntax510
[6/54] Compiling SwiftSyntax600 Empty.swift
[7/54] Emitting module SwiftSyntax600
[11/116] Compiling SwiftSyntax Identifier.swift
[12/116] Compiling SwiftSyntax MemoryLayout.swift
[13/116] Compiling SwiftSyntax MissingNodeInitializers.swift
[14/116] Compiling SwiftSyntax RawSyntax.swift
[15/116] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[16/116] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[17/116] Compiling SwiftSyntax RawSyntaxTokenView.swift
[18/116] Compiling SwiftSyntax SourceEdit.swift
[19/119] Compiling JSONSchema ValidationLocation.swift
[20/119] Compiling JSONSchema ValidationResult.swift
[21/119] Compiling JSONSchema resource_bundle_accessor.swift
[22/119] Compiling SwiftSyntax SourceLength.swift
[23/119] Compiling SwiftSyntax SourceLocation.swift
[24/119] Compiling SwiftSyntax SourcePresence.swift
[25/119] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[26/119] Emitting module JSONSchema
[27/119] Compiling SwiftSyntax AbsolutePosition.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 =
[28/119] Compiling SwiftSyntax AbsoluteRawSyntax.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 =
[29/119] Compiling SwiftSyntax AbsoluteSyntaxInfo.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 =
[30/119] Compiling SwiftSyntax Assert.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 =
[31/119] Compiling SwiftSyntax BumpPtrAllocator.swift
[32/119] Compiling SwiftSyntax CommonAncestor.swift
[33/119] Compiling SwiftSyntax Convenience.swift
[34/119] Compiling SwiftSyntax CustomTraits.swift
[35/119] Compiling SwiftSyntax Syntax.swift
[36/119] Compiling SwiftSyntax SyntaxArena.swift
[37/119] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[38/119] Compiling SwiftSyntax SyntaxChildren.swift
[39/119] Compiling SwiftSyntax SyntaxCollection.swift
[40/119] Compiling SwiftSyntax SyntaxHashable.swift
[41/119] Compiling SwiftSyntax SyntaxIdentifier.swift
BUILD FAILURE 6.1 android