The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-openai, reference v0.1.0 (714419), with Swift 6.1 for Android on 8 Jun 2025 22:57:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.63.1
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.1
Building package at path:  $PWD
https://github.com/ajevans99/swift-openai.git
https://github.com/ajevans99/swift-openai.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-openapi-generator",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-generator.git"
    },
    {
      "identity" : "swift-openapi-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-runtime.git"
    },
    {
      "identity" : "swift-json-schema",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ajevans99/swift-json-schema.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "swift-openai",
  "name" : "swift-openai",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAI",
      "targets" : [
        "OpenAIKit",
        "OpenAICore",
        "OpenAIFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAIKit",
      "targets" : [
        "OpenAIKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAICore",
      "targets" : [
        "OpenAICore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAIFoundation",
      "targets" : [
        "OpenAIFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAIKitTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIKitTests",
      "path" : "Tests/OpenAIKitTests",
      "sources" : [
        "OpenAIKitTests.swift"
      ],
      "target_dependencies" : [
        "OpenAIKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAIKit",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIKit",
      "path" : "Sources/OpenAIKit",
      "product_dependencies" : [
        "OpenAPIRuntime",
        "JSONSchema",
        "JSONSchemaBuilder"
      ],
      "product_memberships" : [
        "OpenAI",
        "OpenAIKit"
      ],
      "sources" : [
        "Responses/ResponseSession.swift",
        "Responses/ResponseSessionError.swift",
        "Responses/ToolErrorPolicy.swift",
        "Tools/Extensions/OpenAPIValueContainer+JSONValue.swift",
        "Tools/Tool.swift"
      ],
      "target_dependencies" : [
        "OpenAICore",
        "OpenAIFoundation"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OpenAIFoundation",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIFoundation",
      "path" : "Sources/OpenAIFoundation",
      "product_dependencies" : [
        "OpenAPIRuntime"
      ],
      "product_memberships" : [
        "OpenAI",
        "OpenAIKit",
        "OpenAICore",
        "OpenAIFoundation"
      ],
      "sources" : [
        "Generated/Client.swift",
        "Generated/Types.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OpenAICore",
      "module_type" : "SwiftTarget",
      "name" : "OpenAICore",
      "path" : "Sources/OpenAICore",
      "product_dependencies" : [
        "OpenAPIRuntime",
        "Logging"
      ],
      "product_memberships" : [
        "OpenAI",
        "OpenAIKit",
        "OpenAICore"
      ],
      "sources" : [
        "Images/CreateImageEditRequest.swift",
        "Images/CreateImageRequest.swift",
        "Images/ImagesResponse.swift",
        "Middleware/AuthenticationMiddleware.swift",
        "Middleware/LoggingMiddleware.swift",
        "Model.swift",
        "OpenAI+Images.swift",
        "OpenAI+Responses.swift",
        "OpenAI.swift",
        "Responses/CreateModelResponse.swift",
        "Responses/ListInputItemsResponse.swift",
        "Responses/Messages/InputItem.swift",
        "Responses/Messages/InputMessage.swift",
        "Responses/Messages/InputPayload.swift",
        "Responses/Messages/OutputItem.swift",
        "Responses/Messages/OutputMessage.swift",
        "Responses/Reasoning.swift",
        "Responses/Response.swift",
        "Responses/ServiceTier.swift",
        "Responses/StreamingResponse.swift",
        "Responses/Tools/FunctionTool.swift",
        "Responses/Tools/ImageGenTool.swift",
        "Responses/Tools/Tool.swift",
        "Responses/Truncation.swift",
        "Responses/Usage.swift"
      ],
      "target_dependencies" : [
        "OpenAIFoundation"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-openapi-generator.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-openapi-runtime.git
Fetching https://github.com/ajevans99/swift-json-schema.git
[1/3873] Fetching swift-json-schema
[2/9552] Fetching swift-json-schema, swift-openapi-runtime
[1917/13388] Fetching swift-json-schema, swift-openapi-runtime, swift-log
[10950/29137] Fetching swift-json-schema, swift-openapi-runtime, swift-log, swift-openapi-generator
Fetched https://github.com/ajevans99/swift-json-schema.git from cache (0.37s)
[12508/25264] Fetching swift-openapi-runtime, swift-log, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-runtime.git from cache (0.41s)
[9821/19585] Fetching swift-log, swift-openapi-generator
Fetched https://github.com/apple/swift-log.git from cache (0.43s)
[8032/15749] Fetching swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-generator.git from cache (1.24s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.8.2 (1.79s)
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.25s)
Computing version for https://github.com/apple/swift-openapi-generator.git
Computed https://github.com/apple/swift-openapi-generator.git at 1.8.0 (2.64s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-argument-parser
[1/5959] Fetching swift-algorithms
[1253/22550] Fetching swift-algorithms, swift-collections
[4003/33281] Fetching swift-algorithms, swift-collections, yams
[11114/48661] Fetching swift-algorithms, swift-collections, yams, swift-argument-parser
[34355/138406] Fetching swift-algorithms, swift-collections, yams, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-algorithms from cache (1.35s)
[68729/132447] Fetching swift-collections, yams, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-collections from cache (1.38s)
[53035/115856] Fetching yams, swift-argument-parser, openapikit
Fetched https://github.com/jpsim/Yams from cache (1.54s)
[49484/105125] Fetching swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-argument-parser from cache (4.61s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (4.69s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (5.39s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.55s)
Fetching https://github.com/apple/swift-numerics.git
[1/5739] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.51s)
Computing version for https://github.com/ajevans99/swift-json-schema.git
Computed https://github.com/ajevans99/swift-json-schema.git at 0.7.0 (1.23s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70764] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.31s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (6.03s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.55s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.5.2 (0.62s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.49s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.0 (0.53s)
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-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.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.8.0
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/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-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
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.0
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-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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.0.0
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.5.2
[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 validation.json
[3/53] Write sources
[3/53] Copying unevaluated.json
[3/53] Copying schema.json
[3/53] Copying meta-data.json
[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
[34/53] Compiling _SwiftSyntaxCShims dummy.c
[35/53] Write swift-version-24593BA9C3E375BF.txt
[37/100] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[38/100] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/101] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[40/101] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[41/102] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[42/102] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[45/103] Wrapping AST for SwiftSyntax509 for debugging
[46/103] Wrapping AST for SwiftSyntax600 for debugging
[47/103] Wrapping AST for SwiftSyntax510 for debugging
[49/167] Compiling SwiftSyntax AbsolutePosition.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[50/167] Compiling SwiftSyntax AbsoluteRawSyntax.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/167] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/167] Compiling SwiftSyntax Assert.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/167] Compiling SwiftSyntax BumpPtrAllocator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/167] Compiling SwiftSyntax CommonAncestor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[55/167] Compiling SwiftSyntax Convenience.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[56/167] Compiling SwiftSyntax CustomTraits.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[57/167] Compiling SwiftSyntax Identifier.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/175] Compiling HTTPTypes ISOLatin1String.swift
[59/176] Compiling HTTPTypes HTTPParsedFields.swift
[60/176] Compiling HTTPTypes HTTPResponse.swift
[61/176] Compiling HTTPTypes HTTPRequest.swift
[62/176] Compiling HTTPTypes NIOLock.swift
[63/176] Emitting module Logging
[64/176] Compiling Logging MetadataProvider.swift
[65/176] Compiling Logging Locks.swift
[66/176] Compiling Logging LogHandler.swift
[67/176] Compiling Logging Logging.swift
[69/177] Emitting module JSONSchema
[70/180] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[71/180] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[72/180] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[73/180] Compiling SwiftSyntax SyntaxBaseNodes.swift
[75/180] Compiling SwiftSyntax Utils.swift
[76/180] Compiling SwiftSyntax ChildNameForKeyPath.swift
[77/180] Compiling SwiftSyntax Keyword.swift
[78/180] Compiling SwiftSyntax SourceEdit.swift
[79/180] Compiling SwiftSyntax SourceLength.swift
[80/180] Compiling SwiftSyntax SourceLocation.swift
[81/180] Compiling SwiftSyntax RawSyntax.swift
[82/180] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[83/180] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[84/180] Compiling SwiftSyntax RawSyntaxTokenView.swift
[85/180] Compiling SwiftSyntax SyntaxCollections.swift
[86/180] Compiling SwiftSyntax SyntaxEnum.swift
[87/180] Compiling SwiftSyntax MemoryLayout.swift
[88/180] Compiling SwiftSyntax MissingNodeInitializers.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 =
[97/180] Compiling JSONSchema ValidationLocation.swift
[98/180] Compiling JSONSchema ValidationResult.swift
[99/180] Compiling JSONSchema resource_bundle_accessor.swift
[100/180] Compiling HTTPTypes HTTPFieldName.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/21] Write swift-version-24593BA9C3E375BF.txt
[5/68] Compiling SwiftSyntax510 Empty.swift
[6/68] Emitting module SwiftSyntax510
[7/69] Compiling SwiftSyntax509 Empty.swift
[8/69] Emitting module SwiftSyntax509
[9/70] Compiling SwiftSyntax600 Empty.swift
[10/70] Emitting module SwiftSyntax600
[11/70] Compiling Logging MetadataProvider.swift
[15/68] Emitting module Logging
[16/68] Compiling Logging Locks.swift
[17/71] Compiling HTTPTypes HTTPFieldName.swift
[18/121] Compiling HTTPTypes HTTPField.swift
[19/133] Compiling HTTPTypes ISOLatin1String.swift
[20/133] Compiling SwiftSyntax AbsolutePosition.swift
[21/133] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[22/133] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[23/133] Compiling SwiftSyntax Assert.swift
[24/136] Compiling HTTPTypes HTTPResponse.swift
[25/136] Compiling SwiftSyntax SourceLength.swift
[26/136] Compiling SwiftSyntax SourceLocation.swift
[27/136] Compiling SwiftSyntax SourcePresence.swift
[28/136] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[29/136] Emitting module JSONSchema
[30/136] Compiling HTTPTypes HTTPParsedFields.swift
[31/136] Compiling HTTPTypes HTTPRequest.swift
[32/136] Compiling HTTPTypes NIOLock.swift
[33/136] Emitting module HTTPTypes
[34/136] Compiling HTTPTypes HTTPFields.swift
[36/137] Compiling Logging Logging.swift
[37/137] Compiling Logging LogHandler.swift
[38/138] Compiling JSONSchema ValidationLocation.swift
[39/138] Compiling JSONSchema ValidationResult.swift
[40/138] Compiling JSONSchema resource_bundle_accessor.swift
[42/199] Compiling OpenAPIRuntime CodingErrors.swift
[43/199] Compiling OpenAPIRuntime RuntimeError.swift
[44/199] Compiling OpenAPIRuntime ServerError.swift
[45/199] Compiling OpenAPIRuntime ServerVariable.swift
[46/199] Compiling OpenAPIRuntime URLExtensions.swift
[47/199] Compiling OpenAPIRuntime Deprecated.swift
[48/199] Compiling OpenAPIRuntime ClientError.swift
[49/199] Compiling OpenAPIRuntime URICodeCodingKey.swift
[50/199] Compiling OpenAPIRuntime URICoderConfiguration.swift
[51/199] Compiling OpenAPIRuntime URIEncodedNode.swift
[52/199] Compiling OpenAPIRuntime URIParsedTypes.swift
[53/199] Compiling OpenAPIRuntime URIDecoder.swift
[54/199] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[55/199] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[56/199] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[57/207] Compiling OpenAPIRuntime UndocumentedPayload.swift
[58/207] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[59/207] Compiling OpenAPIRuntime CodableExtensions.swift
[60/207] Compiling OpenAPIRuntime Configuration.swift
[61/207] Compiling OpenAPIRuntime CopyOnWriteBox.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 =
[62/207] Compiling OpenAPIRuntime OpenAPIMIMEType.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 =
[63/207] Compiling OpenAPIRuntime OpenAPIValue.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 =
[64/207] Compiling OpenAPIRuntime PrettyStringConvertible.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 =
[65/207] Compiling OpenAPIRuntime Converter+Client.swift
[66/207] Compiling OpenAPIRuntime Converter+Common.swift
[67/207] Compiling OpenAPIRuntime Converter+Server.swift
[68/207] Compiling OpenAPIRuntime Converter.swift
[69/207] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[70/207] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[71/207] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[72/207] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[73/207] Compiling OpenAPIRuntime ServerSentEvents.swift
[74/207] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[75/207] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[76/207] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[77/207] Compiling OpenAPIRuntime ClientTransport.swift
BUILD FAILURE 6.1 android