The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenAPISwiftCodeGenerate, reference 2.0.0 (c89614), with Swift 6.1 for Wasm on 28 May 2025 18:05:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amzn/openapi-swift-code-generate.git
Reference: 2.0.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/amzn/openapi-swift-code-generate
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at c89614f Merge pull request #6 from amzn/3.0.0-alpha.9
Cloned https://github.com/amzn/openapi-swift-code-generate.git
Revision (git rev-parse @):
c89614f73d55fb76d7e9d7c52149e86f61cd4a6b
SUCCESS checkout https://github.com/amzn/openapi-swift-code-generate.git at 2.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/amzn/openapi-swift-code-generate.git
https://github.com/amzn/openapi-swift-code-generate.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swaggerparser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tachyonics/SwaggerParser.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "openapikit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0-alpha.9",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattpolzin/OpenAPIKit.git"
    },
    {
      "identity" : "service-model-swift-code-generate",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/amzn/service-model-swift-code-generate"
    }
  ],
  "manifest_display_name" : "OpenAPISwiftCodeGenerate",
  "name" : "OpenAPISwiftCodeGenerate",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "SwaggerServiceModel",
      "targets" : [
        "SwaggerServiceModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAPIServiceModel",
      "targets" : [
        "OpenAPIServiceModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwaggerServiceModel",
      "module_type" : "SwiftTarget",
      "name" : "SwaggerServiceModel",
      "path" : "Sources/SwaggerServiceModel",
      "product_dependencies" : [
        "ServiceModelCodeGeneration",
        "Yams",
        "SwaggerParser",
        "OpenAPIKit30"
      ],
      "product_memberships" : [
        "SwaggerServiceModel"
      ],
      "sources" : [
        "SwaggerServiceModel+createSwaggerModel.swift",
        "SwaggerServiceModel+parseSchemas.swift",
        "SwaggerServiceModel+setOperationInput.swift",
        "SwaggerServiceModel+setOperationOutput.swift",
        "SwaggerServiceModel.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OpenAPIServiceModel",
      "module_type" : "SwiftTarget",
      "name" : "OpenAPIServiceModel",
      "path" : "Sources/OpenAPIServiceModel",
      "product_dependencies" : [
        "ServiceModelCodeGeneration",
        "Yams",
        "SwaggerParser",
        "OpenAPIKit30"
      ],
      "product_memberships" : [
        "OpenAPIServiceModel"
      ],
      "sources" : [
        "CreateOpenAPIServiceModel.swift",
        "OpenAPIServiceModel.swift",
        "ParseSchemas.swift",
        "SetOperationInput.swift",
        "SetOperationOutput.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/amzn/service-model-swift-code-generate
Fetching https://github.com/tachyonics/SwaggerParser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/mattpolzin/OpenAPIKit.git
[1/1549] Fetching service-model-swift-code-generate
warning: 'swaggerparser': skipping cache due to an error: Failed to clone repository https://github.com/tachyonics/SwaggerParser.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/SwaggerParser-1fb37a35'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
Fetching https://github.com/tachyonics/SwaggerParser.git
[1550/12206] Fetching service-model-swift-code-generate, yams
warning: 'swaggerparser': skipping cache due to an error: Failed to clone repository https://github.com/tachyonics/SwaggerParser.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/SwaggerParser-1fb37a35'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
Fetched https://github.com/amzn/service-model-swift-code-generate from cache (0.51s)
[3624/10657] Fetching yams
[6609/98567] Fetching yams, openapikit
Fetched https://github.com/jpsim/Yams.git from cache (1.38s)
[36923/87910] Fetching openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit.git from cache (3.59s)
error: Failed to clone repository https://github.com/tachyonics/SwaggerParser.git:
    Cloning into bare repository '/host/spi-builder-workspace/.build/repositories/SwaggerParser-1fb37a35'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/tachyonics/SwaggerParser.git
Updating https://github.com/jpsim/Yams.git
Updating https://github.com/mattpolzin/OpenAPIKit.git
Updating https://github.com/amzn/service-model-swift-code-generate
warning: 'swaggerparser': skipping cache due to an error: Failed to clone repository https://github.com/tachyonics/SwaggerParser.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/SwaggerParser-1fb37a35'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
Updated https://github.com/jpsim/Yams.git (0.17s)
Fetching https://github.com/tachyonics/SwaggerParser.git
Updated https://github.com/mattpolzin/OpenAPIKit.git (0.24s)
Updated https://github.com/amzn/service-model-swift-code-generate (0.24s)
warning: 'swaggerparser': skipping cache due to an error: Failed to clone repository https://github.com/tachyonics/SwaggerParser.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/SwaggerParser-1fb37a35'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
error: Failed to clone repository https://github.com/tachyonics/SwaggerParser.git:
    Cloning into bare repository '/host/spi-builder-workspace/.build/repositories/SwaggerParser-1fb37a35'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
BUILD FAILURE 6.1 wasm