The Swift Package Index logo.Swift Package Index

Build Information

Failed to build smoke-framework, reference 2.23.0 (dfac39), with Swift 6.1 for Wasm on 29 May 2025 13:41:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/smoke-framework.git
Reference: 2.23.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/smoke-framework
 * tag               2.23.0     -> FETCH_HEAD
HEAD is now at dfac392 Merge pull request #133 from amzn/smoke-http-3.0.0
Cloned https://github.com/amzn/smoke-framework.git
Revision (git rev-parse @):
dfac392993fe7e6e359ebbf45c463a51732eca1a
SUCCESS checkout https://github.com/amzn/smoke-framework.git at 2.23.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/amzn/smoke-framework.git
https://github.com/amzn/smoke-framework.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "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"
    },
    {
      "identity" : "swift-metrics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-metrics.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-extras",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-extras.git"
    },
    {
      "identity" : "smoke-http",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/amzn/smoke-http.git"
    },
    {
      "identity" : "swift-distributed-tracing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-distributed-tracing.git"
    }
  ],
  "manifest_display_name" : "smoke-framework",
  "name" : "smoke-framework",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SmokeOperations",
      "targets" : [
        "SmokeOperations"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "_SmokeOperationsConcurrency",
      "targets" : [
        "_SmokeOperationsConcurrency"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SmokeOperationsHTTP1",
      "targets" : [
        "SmokeOperationsHTTP1"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "_SmokeOperationsHTTP1Concurrency",
      "targets" : [
        "_SmokeOperationsHTTP1Concurrency"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SmokeOperationsHTTP1Server",
      "targets" : [
        "SmokeOperationsHTTP1Server"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SmokeInvocation",
      "targets" : [
        "SmokeInvocation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SmokeHTTP1",
      "targets" : [
        "SmokeHTTP1"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SmokeAsync",
      "targets" : [
        "SmokeAsync"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SmokeAsyncHTTP1",
      "targets" : [
        "SmokeAsyncHTTP1"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "_SmokeOperationsHTTP1Concurrency",
      "module_type" : "SwiftTarget",
      "name" : "_SmokeOperationsHTTP1Concurrency",
      "path" : "Sources/_SmokeOperationsHTTP1Concurrency",
      "product_memberships" : [
        "_SmokeOperationsHTTP1Concurrency"
      ],
      "sources" : [
        "Export.swift"
      ],
      "target_dependencies" : [
        "SmokeOperationsHTTP1",
        "_SmokeOperationsConcurrency"
      ],
      "type" : "library"
    },
    {
      "c99name" : "_SmokeOperationsConcurrency",
      "module_type" : "SwiftTarget",
      "name" : "_SmokeOperationsConcurrency",
      "path" : "Sources/_SmokeOperationsConcurrency",
      "product_memberships" : [
        "_SmokeOperationsConcurrency",
        "_SmokeOperationsHTTP1Concurrency"
      ],
      "sources" : [
        "Export.swift"
      ],
      "target_dependencies" : [
        "SmokeOperations"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SmokeOperationsHTTP1Tests",
      "module_type" : "SwiftTarget",
      "name" : "SmokeOperationsHTTP1Tests",
      "path" : "Tests/SmokeOperationsHTTP1Tests",
      "sources" : [
        "ErrorWithTypeTests.swift",
        "SmokeOperationsHTTP1AsyncTests.swift",
        "SmokeOperationsHTTP1SyncTests.swift",
        "TestConfiguration.swift"
      ],
      "target_dependencies" : [
        "SmokeOperationsHTTP1",
        "SmokeHTTP1"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SmokeOperationsHTTP1Server",
      "module_type" : "SwiftTarget",
      "name" : "SmokeOperationsHTTP1Server",
      "path" : "Sources/SmokeOperationsHTTP1Server",
      "product_memberships" : [
        "SmokeOperationsHTTP1Server"
      ],
      "sources" : [
        "HTTP1OperationTraceContext.swift",
        "HTTP1RequestInvocationContext.swift",
        "JSONPayloadHTTP1OperationDelegate.swift",
        "SmokeAsyncServerPerInvocationContextInitializer.swift",
        "SmokeAsyncServerStaticContextInitializer.swift",
        "SmokeHTTP1Server+runAsOperationServer.swift",
        "SmokeHTTP1Server+startAsOperationServer.swift",
        "SmokeInvocationTraceContext.swift",
        "SmokeServerHTTP1RequestHandler.swift",
        "SmokeServerInvocationContext+HTTP1RequestInvocationContext.swift",
        "SmokeServerInvocationReporting+withInvocationTraceContext.swift",
        "SmokeServerInvocationReporting.swift",
        "SmokeServerPerInvocationContextInitializer.swift",
        "SmokeServerPerInvocationContextInitializerV2.swift",
        "SmokeServerStaticContextInitializer.swift",
        "SmokeServerStaticContextInitializerV2.swift",
        "StandardHTTP1ResponseHandler.swift",
        "StandardJSONSmokeAsyncServerPerInvocationContextInitializer.swift",
        "StandardJSONSmokeAsyncServerStaticContextInitializer.swift",
        "StandardJSONSmokeServerPerInvocationContextInitializer.swift",
        "StandardJSONSmokeServerStaticContextInitializer.swift"
      ],
      "target_dependencies" : [
        "SmokeOperationsHTTP1",
        "SmokeHTTP1"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SmokeOperationsHTTP1",
      "module_type" : "SwiftTarget",
      "name" : "SmokeOperationsHTTP1",
      "path" : "Sources/SmokeOperationsHTTP1",
      "product_dependencies" : [
        "QueryCoding",
        "HTTPPathCoding",
        "HTTPHeadersCoding",
        "SmokeHTTPClient"
      ],
      "product_memberships" : [
        "SmokeOperationsHTTP1",
        "_SmokeOperationsHTTP1Concurrency",
        "SmokeOperationsHTTP1Server",
        "SmokeAsyncHTTP1"
      ],
      "sources" : [
        "AdditionalHeadersOperationHTTPOutput.swift",
        "BodyOperationHTTPInput.swift",
        "BodyOperationHTTPOutput.swift",
        "GenericJSONPayloadHTTP1OperationDelegate.swift",
        "HTTP1OperationDelegate.swift",
        "HTTP1OperationRequestHandler.swift",
        "HTTP1ResponseHandler.swift",
        "HTTP1ServerResponseComponents.swift",
        "HeadersOperationHTTPInput.swift",
        "OperationHTTP1InputProtocol.swift",
        "OperationHTTP1OutputProtocol.swift",
        "PathOperationHTTPInput.swift",
        "QueryOperationHTTPInput.swift",
        "SmokeAsyncPerInvocationContextInitializer.swift",
        "SmokeAsyncStaticContextInitializer.swift",
        "SmokeHTTP1HandlerSelector+blockingFromProviderWithInputNoOutput.swift",
        "SmokeHTTP1HandlerSelector+blockingFromProviderWithInputWithOutput.swift",
        "SmokeHTTP1HandlerSelector+blockingWithContextInputNoOutput.swift",
        "SmokeHTTP1HandlerSelector+blockingWithContextInputWithOutput.swift",
        "SmokeHTTP1HandlerSelector+blockingWithInputNoOutput.swift",
        "SmokeHTTP1HandlerSelector+blockingWithInputWithOutput.swift",
        "SmokeHTTP1HandlerSelector+fromProviderWithInputNoOutput.swift",
        "SmokeHTTP1HandlerSelector+fromProviderWithInputWithOutput.swift",
        "SmokeHTTP1HandlerSelector+nonblockingFromProviderWithInputNoOutput.swift",
        "SmokeHTTP1HandlerSelector+nonblockingFromProviderWithInputWithOutput.swift",
        "SmokeHTTP1HandlerSelector+nonblockingWithContextInputNoOutput.swift",
        "SmokeHTTP1HandlerSelector+nonblockingWithContextInputWithOutput.swift",
        "SmokeHTTP1HandlerSelector+nonblockingWithInputNoOutput.swift",
        "SmokeHTTP1HandlerSelector+nonblockingWithInputWithOutput.swift",
        "SmokeHTTP1HandlerSelector+withContextInputNoOutput.swift",
        "SmokeHTTP1HandlerSelector+withContextInputWithOutput.swift",
        "SmokeHTTP1HandlerSelector+withInputNoOutput.swift",
        "SmokeHTTP1HandlerSelector+withInputWithOutput.swift",
        "SmokeHTTP1HandlerSelector.swift",
        "SmokeHTTP1RequestHead.swift",
        "SmokeInvocationTraceContext.swift",
        "SmokePerInvocationContextInitializer.swift",
        "SmokePerInvocationContextInitializerV2.swift",
        "SmokeStaticContextInitializer.swift",
        "SmokeStaticContextInitializerV2.swift",
        "StandardHTTP1OperationRequestHandler.swift",
        "StandardSmokeHTTP1HandlerSelector.swift"
      ],
      "target_dependencies" : [
        "SmokeOperations"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SmokeOperations",
      "module_type" : "SwiftTarget",
      "name" : "SmokeOperations",
      "path" : "Sources/SmokeOperations",
      "product_dependencies" : [
        "Logging",
        "Metrics",
        "Tracing"
      ],
      "product_memberships" : [
        "SmokeOperations",
        "_SmokeOperationsConcurrency",
        "SmokeOperationsHTTP1",
        "_SmokeOperationsHTTP1Concurrency",
        "SmokeOperationsHTTP1Server",
        "SmokeAsync",
        "SmokeAsyncHTTP1"
      ],
      "sources" : [
        "ErrorWithType.swift",
        "InvocationReporting.swift",
        "JSONDecoder+getFrameworkDecoder.swift",
        "JSONEncoder+getFrameworkEncoder.swift",
        "MetadataProvider+smokeFramework.swift",
        "OperationDelegate.swift",
        "OperationFailure.swift",
        "OperationHandler+blockingWithContextInputNoOutput.swift",
        "OperationHandler+blockingWithContextInputWithOutput.swift",
        "OperationHandler+blockingWithInputNoOutput.swift",
        "OperationHandler+blockingWithInputWithOutput.swift",
        "OperationHandler+nonblockingWithContextInputNoOutput.swift",
        "OperationHandler+nonblockingWithContextInputWithOutput.swift",
        "OperationHandler+nonblockingWithInputNoOutput.swift",
        "OperationHandler+nonblockingWithInputWithOutput.swift",
        "OperationHandler+withContextInputNoOutput.swift",
        "OperationHandler+withContextInputWithOutput.swift",
        "OperationHandler+withInputNoOutput.swift",
        "OperationHandler+withInputWithOutput.swift",
        "OperationHandler.swift",
        "OperationHandlerExtensions.swift",
        "OperationIdentity.swift",
        "OperationTraceContext.swift",
        "PerInvocationContext.swift",
        "RequestLoggerDecorator.swift",
        "ReturnableErrorProtocols.swift",
        "ServiceContext+invocationContext.swift",
        "SmokeInvocationContext.swift",
        "SmokeOperationError.swift",
        "SmokeOperationReporting.swift",
        "SmokeReportingConfiguration.swift",
        "Validatable.swift"
      ],
      "target_dependencies" : [
        "SmokeInvocation"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SmokeInvocation",
      "module_type" : "SwiftTarget",
      "name" : "SmokeInvocation",
      "path" : "Sources/SmokeInvocation",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "SmokeOperations",
        "_SmokeOperationsConcurrency",
        "SmokeOperationsHTTP1",
        "_SmokeOperationsHTTP1Concurrency",
        "SmokeOperationsHTTP1Server",
        "SmokeInvocation",
        "SmokeHTTP1",
        "SmokeAsync",
        "SmokeAsyncHTTP1"
      ],
      "sources" : [
        "GlobalDispatchQueueAsyncInvocationStrategy.swift",
        "GlobalDispatchQueueSyncInvocationStrategy.swift",
        "InvocationStrategy.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SmokeHTTP1",
      "module_type" : "SwiftTarget",
      "name" : "SmokeHTTP1",
      "path" : "Sources/SmokeHTTP1",
      "product_dependencies" : [
        "Logging",
        "NIO",
        "NIOHTTP1",
        "NIOFoundationCompat",
        "NIOExtras",
        "SmokeHTTPClient"
      ],
      "product_memberships" : [
        "SmokeOperationsHTTP1Server",
        "SmokeHTTP1"
      ],
      "sources" : [
        "ChannelHTTP1ResponseHandler.swift",
        "HTTP1ChannelInboundHandler.swift",
        "HTTP1RequestHandler.swift",
        "HTTP1RequestInvocationContext.swift",
        "HttpHeaderConstants.swift",
        "KeepAliveStatus.swift",
        "SmokeHTTP1Server.swift",
        "SmokeInwardsRequestContext.swift",
        "StandardSmokeHTTP1Server.swift"
      ],
      "target_dependencies" : [
        "SmokeInvocation"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SmokeAsyncHTTP1",
      "module_type" : "SwiftTarget",
      "name" : "SmokeAsyncHTTP1",
      "path" : "Sources/SmokeAsyncHTTP1",
      "product_dependencies" : [
        "NIOHTTP1"
      ],
      "product_memberships" : [
        "SmokeAsyncHTTP1"
      ],
      "sources" : [
        "SmokeHTTP1HandlerSelector+futureFromProviderWithInputNoOutput.swift",
        "SmokeHTTP1HandlerSelector+futureFromProviderWithInputWithOutput.swift",
        "SmokeHTTP1HandlerSelector+futureWithContextInputNoOutput.swift",
        "SmokeHTTP1HandlerSelector+futureWithContextInputWithOutput.swift",
        "SmokeHTTP1HandlerSelector+futureWithInputNoOutput.swift",
        "SmokeHTTP1HandlerSelector+futureWithInputWithOutput.swift"
      ],
      "target_dependencies" : [
        "SmokeAsync",
        "SmokeOperationsHTTP1"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SmokeAsync",
      "module_type" : "SwiftTarget",
      "name" : "SmokeAsync",
      "path" : "Sources/SmokeAsync",
      "product_dependencies" : [
        "Logging",
        "NIO"
      ],
      "product_memberships" : [
        "SmokeAsync",
        "SmokeAsyncHTTP1"
      ],
      "sources" : [
        "OperationHandler+futureWithContextInputNoOutput.swift",
        "OperationHandler+futureWithContextInputWithOutput.swift",
        "OperationHandler+futureWithInputNoOutput.swift",
        "OperationHandler+futureWithInputWithOutput.swift"
      ],
      "target_dependencies" : [
        "SmokeOperations"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/amzn/smoke-http.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-log.git
[1/2206] Fetching swift-metrics
[443/6042] Fetching swift-metrics, swift-log
[1129/11016] Fetching swift-metrics, swift-log, swift-distributed-tracing
[3020/13699] Fetching swift-metrics, swift-log, swift-distributed-tracing, smoke-http
[7164/19613] Fetching swift-metrics, swift-log, swift-distributed-tracing, smoke-http, swift-nio-extras
[19437/95706] Fetching swift-metrics, swift-log, swift-distributed-tracing, smoke-http, swift-nio-extras, swift-nio
Fetched https://github.com/amzn/smoke-http.git from cache (0.54s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.55s)
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.58s)
[6011/78299] Fetching swift-metrics, swift-nio
Fetched https://github.com/apple/swift-metrics.git from cache (6.21s)
Fetched https://github.com/apple/swift-nio.git from cache (6.29s)
Computing version for https://github.com/amzn/smoke-http.git
Computed https://github.com/amzn/smoke-http.git at 3.0.2 (6.92s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/14014] Fetching async-http-client
[11353/28857] Fetching async-http-client, swift-nio-ssl
Fetched https://github.com/swift-server/async-http-client.git from cache (2.40s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.42s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (3.51s)
Fetching https://github.com/apple/swift-service-context.git
[1/1063] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.37s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (1.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.63s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.45s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (1.24s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.47s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1710] Fetching swift-atomics
[1711/6101] Fetching swift-atomics, swift-system
[2326/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.45s)
[8705/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.03s)
Fetched https://github.com/apple/swift-collections.git from cache (1.05s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.62s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.61s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1590] Fetching swift-asn1
[781/2731] Fetching swift-asn1, swift-http-structured-headers
[972/8690] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms
[3746/13675] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms, swift-async-algorithms
[4980/16101] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms, swift-async-algorithms, swift-service-lifecycle
[12251/22256] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms, swift-async-algorithms, swift-service-lifecycle, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.43s)
[19400/19830] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms, swift-async-algorithms, swift-certificates
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.50s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.53s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.53s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.53s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.53s)
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.29s)
[1/11527] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.27s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.30s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.57s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.64s)
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.51s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.73s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.62s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.75s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.50s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.17s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.80s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.56s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.51s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.60s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2667] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.39s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (3.53s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/amzn/smoke-http.git
Working copy of https://github.com/amzn/smoke-http.git resolved at 3.0.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.27.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.0
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Building for debugging...
[0/459] Write sources
[40/459] Compiling CNIOWindows WSAStartup.c
[40/459] Compiling _AtomicsShims.c
[40/459] Compiling _NumericsShims _NumericsShims.c
[43/459] Compiling CNIOWindows shim.c
[44/459] Write swift-version-24593BA9C3E375BF.txt
[45/459] Compiling CNIOLinux shim.c
[45/459] Compiling CNIOWASI CNIOWASI.c
[47/459] Compiling CNIODarwin shim.c
[48/459] Compiling CNIOLinux liburing_shims.c
[49/459] Compiling CNIOExtrasZlib empty.c
[50/459] Compiling CNIOLLHTTP c_nio_http.c
[51/459] Compiling CNIOLLHTTP c_nio_api.c
[53/500] Emitting module RealModule
[54/501] Emitting module _NIODataStructures
[54/501] Compiling CNIOLLHTTP c_nio_llhttp.c
[56/501] Emitting module ServiceContextModule
[57/501] Compiling RealModule RealFunctions.swift
[58/501] Compiling _NIODataStructures _TinyArray.swift
[59/501] Emitting module InternalCollectionsUtilities
[60/501] Compiling RealModule AlgebraicField.swift
[61/501] Compiling RealModule ApproximateEquality.swift
[62/502] Compiling _NIODataStructures PriorityQueue.swift
[63/502] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[64/502] Compiling RealModule Float80+Real.swift
[65/502] Compiling Logging Locks.swift
[66/502] Compiling Logging LogHandler.swift
[67/502] Compiling ServiceContextModule ServiceContext.swift
[68/502] Compiling CoreMetrics Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
 54 |         UnsafeMutablePointer.allocate(capacity: 1)
 55 |     #else
 56 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 57 |         UnsafeMutablePointer.allocate(capacity: 1)
 58 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:65:20: error: cannot find 'pthread_mutexattr_t' in scope
 63 |         InitializeSRWLock(self.mutex)
 64 |         #else
 65 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 66 |         pthread_mutexattr_init(&attr)
 67 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:66:9: error: cannot find 'pthread_mutexattr_init' in scope
 64 |         #else
 65 |         var attr = pthread_mutexattr_t()
 66 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 67 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 68 |
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:9: error: cannot find 'pthread_mutexattr_settype' in scope
 65 |         var attr = pthread_mutexattr_t()
 66 |         pthread_mutexattr_init(&attr)
 67 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 68 |
 69 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 65 |         var attr = pthread_mutexattr_t()
 66 |         pthread_mutexattr_init(&attr)
 67 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 68 |
 69 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:43: error: cannot infer contextual base in reference to member 'init'
 65 |         var attr = pthread_mutexattr_t()
 66 |         pthread_mutexattr_init(&attr)
 67 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 68 |
 69 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:69:19: error: cannot find 'pthread_mutex_init' in scope
 67 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 68 |
 69 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 70 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 71 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:78:19: error: cannot find 'pthread_mutex_destroy' in scope
 76 |         // SRWLOCK does not need to be free'd
 77 |         #else
 78 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 79 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 80 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:92:19: error: cannot find 'pthread_mutex_lock' in scope
 90 |         AcquireSRWLockExclusive(self.mutex)
 91 |         #else
 92 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 93 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 94 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:105:19: error: cannot find 'pthread_mutex_unlock' in scope
103 |         ReleaseSRWLockExclusive(self.mutex)
104 |         #else
105 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
106 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
107 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:177:14: error: value of type 'ReadWriteLock' has no member 'rwlock'
175 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
176 |         #endif
177 |         self.rwlock.deallocate()
    |              `- error: value of type 'ReadWriteLock' has no member 'rwlock'
178 |     }
179 |
[69/502] Compiling ServiceContextModule ServiceContextKey.swift
[70/502] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[71/502] Compiling InternalCollectionsUtilities Debugging.swift
[73/502] Compiling InternalCollectionsUtilities Descriptions.swift
[75/502] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[76/502] Compiling RealModule AugmentedArithmetic.swift
[77/502] Compiling RealModule Double+Real.swift
[78/503] Emitting module _NIOBase64
[79/503] Compiling _NIOBase64 Base64.swift
[80/503] Compiling RealModule Real.swift
[81/504] Compiling RealModule ElementaryFunctions.swift
[82/504] Compiling RealModule Float+Real.swift
[83/504] Compiling RealModule Float16+Real.swift
[84/505] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[85/505] Compiling InternalCollectionsUtilities _SortedCollection.swift
[86/505] Compiling CoreMetrics Metrics.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
 54 |         UnsafeMutablePointer.allocate(capacity: 1)
 55 |     #else
 56 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 57 |         UnsafeMutablePointer.allocate(capacity: 1)
 58 |     #endif
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/505] Emitting module CoreMetrics
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
 54 |         UnsafeMutablePointer.allocate(capacity: 1)
 55 |     #else
 56 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 57 |         UnsafeMutablePointer.allocate(capacity: 1)
 58 |     #endif
[90/505] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[91/505] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[91/505] Compiling CNIOBoringSSLShims shims.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
[0/1] Planning build
Building for debugging...
[0/406] Write sources
[1/407] Compiling fiat_p256_adx_mul.S
[2/407] Compiling fiat_curve25519_adx_mul.S
[3/407] Compiling fiat_p256_adx_sqr.S
[4/407] Compiling fiat_curve25519_adx_square.S
[5/407] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[6/407] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[6/407] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[6/407] Compiling tls13_server.cc
[6/407] Write swift-version-24593BA9C3E375BF.txt
[6/407] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[6/407] Compiling tls_record.cc
[6/407] Compiling t1_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[6/407] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm