Build Information
Failed to build opentelemetry-swift, reference main (9cc02a), with Swift 6.1 for Wasm on 30 Jan 2026 08:52:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cirruslabs/opentelemetry-swift.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/cirruslabs/opentelemetry-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9cc02a7 chore(deps): update prom/prometheus:latest docker digest to 1f0f50f (#1027)
Cloned https://github.com/cirruslabs/opentelemetry-swift.git
Revision (git rev-parse @):
9cc02a767c018ae3fb257c3caa944327fbee3c95
SUCCESS checkout https://github.com/cirruslabs/opentelemetry-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/cirruslabs/opentelemetry-swift.git
https://github.com/cirruslabs/opentelemetry-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "opentelemetry-swift-core",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/open-telemetry/opentelemetry-swift-core.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.92.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "grpc-swift",
"requirement" : {
"exact" : [
"1.27.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/grpc/grpc-swift.git"
},
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.33.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "2.7.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
}
],
"manifest_display_name" : "opentelemetry-swift",
"name" : "opentelemetry-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SwiftMetricsShim",
"targets" : [
"SwiftMetricsShim"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PrometheusExporter",
"targets" : [
"PrometheusExporter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenTelemetryProtocolExporter",
"targets" : [
"OpenTelemetryProtocolExporterGrpc"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenTelemetryProtocolExporterHTTP",
"targets" : [
"OpenTelemetryProtocolExporterHttp"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PersistenceExporter",
"targets" : [
"PersistenceExporter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "InMemoryExporter",
"targets" : [
"InMemoryExporter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OTelSwiftLog",
"targets" : [
"OTelSwiftLog"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BaggagePropagationProcessor",
"targets" : [
"BaggagePropagationProcessor"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Sessions",
"targets" : [
"Sessions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "loggingTracer",
"targets" : [
"LoggingTracer"
],
"type" : {
"executable" : null
}
},
{
"name" : "StableMetricSample",
"targets" : [
"StableMetricSample"
],
"type" : {
"executable" : null
}
},
{
"name" : "LogsSample",
"targets" : [
"LogsSample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftMetricsShimTests",
"module_type" : "SwiftTarget",
"name" : "SwiftMetricsShimTests",
"path" : "Tests/ImportersTests/SwiftMetricsShim",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"sources" : [
"SwiftMetricsShimTests.swift"
],
"target_dependencies" : [
"SwiftMetricsShim"
],
"type" : "test"
},
{
"c99name" : "SwiftMetricsShim",
"module_type" : "SwiftTarget",
"name" : "SwiftMetricsShim",
"path" : "Sources/Importers/SwiftMetricsShim",
"product_dependencies" : [
"OpenTelemetrySdk",
"CoreMetrics"
],
"product_memberships" : [
"SwiftMetricsShim"
],
"sources" : [
"Extensions.swift",
"Locks.swift",
"MetricHandlers.swift",
"SwiftMetricsShim.swift"
],
"type" : "library"
},
{
"c99name" : "StableMetricSample",
"module_type" : "SwiftTarget",
"name" : "StableMetricSample",
"path" : "Examples/Stable Metric Sample",
"product_dependencies" : [
"OpenTelemetrySdk",
"StdoutExporter"
],
"product_memberships" : [
"StableMetricSample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"OpenTelemetryProtocolExporterGrpc"
],
"type" : "executable"
},
{
"c99name" : "SharedTestUtils",
"module_type" : "SwiftTarget",
"name" : "SharedTestUtils",
"path" : "Tests/Shared/TestUtils",
"sources" : [
"HttpTestServer.swift",
"XCTestCase+Wait.swift"
],
"type" : "library"
},
{
"c99name" : "Sessions",
"module_type" : "SwiftTarget",
"name" : "Sessions",
"path" : "Sources/Instrumentation/Sessions",
"product_dependencies" : [
"OpenTelemetryApi",
"OpenTelemetrySdk"
],
"product_memberships" : [
"Sessions"
],
"sources" : [
"Session.swift",
"SessionConfig.swift",
"SessionConstants.swift",
"SessionEventInstrumentation.swift",
"SessionLogRecordProcessor.swift",
"SessionManager.swift",
"SessionManagerProvider.swift",
"SessionSpanProcessor.swift",
"SessionStore.swift"
],
"type" : "library"
},
{
"c99name" : "SessionTests",
"module_type" : "SwiftTarget",
"name" : "SessionTests",
"path" : "Tests/InstrumentationTests/SessionTests",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"sources" : [
"SessionConfigTests.swift",
"SessionConstantsTests.swift",
"SessionEventInstrumentationTests.swift",
"SessionLogRecordProcessorTests.swift",
"SessionManagerProviderTests.swift",
"SessionManagerTests.swift",
"SessionSpanProcessorTests.swift",
"SessionStoreTests.swift",
"SessionTests.swift"
],
"target_dependencies" : [
"Sessions"
],
"type" : "test"
},
{
"c99name" : "PrometheusExporterTests",
"module_type" : "SwiftTarget",
"name" : "PrometheusExporterTests",
"path" : "Tests/ExportersTests/Prometheus",
"sources" : [
"PrometheusExporterTests.swift"
],
"target_dependencies" : [
"PrometheusExporter"
],
"type" : "test"
},
{
"c99name" : "PrometheusExporter",
"module_type" : "SwiftTarget",
"name" : "PrometheusExporter",
"path" : "Sources/Exporters/Prometheus",
"product_dependencies" : [
"OpenTelemetrySdk",
"NIO",
"NIOHTTP1"
],
"product_memberships" : [
"PrometheusExporter"
],
"sources" : [
"PrometheusExporter.swift",
"PrometheusExporterExtensions.swift",
"PrometheusExporterHttpServer.swift",
"PrometheusMetric.swift"
],
"type" : "library"
},
{
"c99name" : "PersistenceExporterTests",
"module_type" : "SwiftTarget",
"name" : "PersistenceExporterTests",
"path" : "Tests/ExportersTests/PersistenceExporter",
"sources" : [
"Export/DataExportDelayTests.swift",
"Export/DataExportWorkerTests.swift",
"Helpers/CoreMocks.swift",
"Helpers/FoundationMocks.swift",
"Helpers/PersistenceExtensions.swift",
"Helpers/SwiftExtensions.swift",
"Helpers/TestsDirectory.swift",
"PersistenceExporterDecoratorTests.swift",
"PersistenceMetricExporterDecoratorTests.swift",
"PersistenceSpanExporterDecoratorTests.swift",
"Storage/DirectoryTests.swift",
"Storage/FileTests.swift",
"Storage/FilesOrchestratorTests.swift",
"Storage/OrchestratedFileReaderTests.swift",
"Storage/OrchestratedFileWriterTests.swift",
"Utils/PerformancePresetTests.swift"
],
"target_dependencies" : [
"PersistenceExporter"
],
"type" : "test"
},
{
"c99name" : "PersistenceExporter",
"module_type" : "SwiftTarget",
"name" : "PersistenceExporter",
"path" : "Sources/Exporters/Persistence",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"product_memberships" : [
"PersistenceExporter"
],
"sources" : [
"Export/DataExportDelay.swift",
"Export/DataExportStatus.swift",
"Export/DataExportWorker.swift",
"PersistenceExporterDecorator.swift",
"PersistenceLogExporterDecorator.swift",
"PersistenceMetricExporterDecorator.swift",
"PersistencePerformancePreset.swift",
"PersistenceSpanExporterDecorator.swift",
"Storage/Directory.swift",
"Storage/File.swift",
"Storage/FileReader.swift",
"Storage/FileWriter.swift",
"Storage/FilesOrchestrator.swift",
"Storage/StorageError.swift",
"Utils/DateProvider.swift"
],
"type" : "library"
},
{
"c99name" : "OpenTelemetryProtocolExporterTests",
"module_type" : "SwiftTarget",
"name" : "OpenTelemetryProtocolExporterTests",
"path" : "Tests/ExportersTests/OpenTelemetryProtocol",
"sources" : [
"CommonAdapterTests.swift",
"EnvVarHeadersTests.swift",
"LogRecordAdapterTests.swift",
"MetricsAdapterTest.swift",
"OtlpHTTPExporterBaseTests.swift",
"OtlpHTTPMetricsExporterTest.swift",
"OtlpHttpLogRecordExporterTests.swift",
"OtlpHttpTraceExporterTests.swift",
"OtlpLogRecordExporterTests.swift",
"OtlpTraceExporterTests.swift",
"OtlpTraceJsonExporterTests.swift",
"ResourceAdapterTests.swift",
"SpanAdapterTests.swift"
],
"target_dependencies" : [
"OpenTelemetryProtocolExporterGrpc",
"OpenTelemetryProtocolExporterHttp",
"SharedTestUtils"
],
"type" : "test"
},
{
"c99name" : "OpenTelemetryProtocolExporterHttp",
"module_type" : "SwiftTarget",
"name" : "OpenTelemetryProtocolExporterHttp",
"path" : "Sources/Exporters/OpenTelemetryProtocolHttp",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"product_memberships" : [
"OpenTelemetryProtocolExporterHTTP"
],
"sources" : [
"Compression.swift",
"HTTPClient.swift",
"Lock.swift",
"OtlpHttpExporterBase.swift",
"logs/OtlpHttpLogExporter.swift",
"metric/OtlpHttpMetricExporter.swift",
"trace/OtlpHttpTraceExporter.swift"
],
"target_dependencies" : [
"OpenTelemetryProtocolExporterCommon"
],
"type" : "library"
},
{
"c99name" : "OpenTelemetryProtocolExporterGrpc",
"module_type" : "SwiftTarget",
"name" : "OpenTelemetryProtocolExporterGrpc",
"path" : "Sources/Exporters/OpenTelemetryProtocolGrpc",
"product_dependencies" : [
"OpenTelemetrySdk",
"GRPC"
],
"product_memberships" : [
"OpenTelemetryProtocolExporter",
"StableMetricSample",
"LogsSample"
],
"sources" : [
"logs/OtlpLogExporter.swift",
"metric/OtlpMetricExporter.swift",
"proto/logs_service.grpc.swift",
"proto/metrics_service.grpc.swift",
"proto/profiles_service.grpc.swift",
"proto/trace_service.grpc.swift",
"trace/OtlpTraceExporter.swift",
"trace/OtlpTraceJsonExporter.swift"
],
"target_dependencies" : [
"OpenTelemetryProtocolExporterCommon"
],
"type" : "library"
},
{
"c99name" : "OpenTelemetryProtocolExporterCommon",
"module_type" : "SwiftTarget",
"name" : "OpenTelemetryProtocolExporterCommon",
"path" : "Sources/Exporters/OpenTelemetryProtocolCommon",
"product_dependencies" : [
"OpenTelemetrySdk",
"Logging",
"SwiftProtobuf"
],
"product_memberships" : [
"OpenTelemetryProtocolExporter",
"OpenTelemetryProtocolExporterHTTP",
"StableMetricSample",
"LogsSample"
],
"sources" : [
"common/CommonAdapter.swift",
"common/Constants.swift",
"common/EnvVarHeaders.swift",
"common/ExporterMetrics.swift",
"common/Headers.swift",
"common/OtlpConfiguration.swift",
"common/ResourceAdapter.swift",
"logs/LogRecordAdapter.swift",
"metric/MetricsAdapter.swift",
"proto/common.pb.swift",
"proto/logs.pb.swift",
"proto/logs_service.pb.swift",
"proto/metrics.pb.swift",
"proto/metrics_service.pb.swift",
"proto/profiles.pb.swift",
"proto/profiles_service.pb.swift",
"proto/resource.pb.swift",
"proto/trace.pb.swift",
"proto/trace_service.pb.swift",
"trace/OtlpSpan.swift",
"trace/SpanAdapter.swift",
"trace/utils/TraceProtoUtils.swift"
],
"type" : "library"
},
{
"c99name" : "OTelSwiftLogTests",
"module_type" : "SwiftTarget",
"name" : "OTelSwiftLogTests",
"path" : "Tests/BridgesTests/OTelSwiftLog",
"sources" : [
"LogHandlerTests.swift"
],
"target_dependencies" : [
"OTelSwiftLog"
],
"type" : "test"
},
{
"c99name" : "OTelSwiftLog",
"module_type" : "SwiftTarget",
"name" : "OTelSwiftLog",
"path" : "Sources/Bridges/OTelSwiftLog",
"product_dependencies" : [
"OpenTelemetryApi",
"Logging"
],
"product_memberships" : [
"OTelSwiftLog"
],
"sources" : [
"LogHandler.swift"
],
"type" : "library"
},
{
"c99name" : "LogsSample",
"module_type" : "SwiftTarget",
"name" : "LogsSample",
"path" : "Examples/Logs Sample",
"product_dependencies" : [
"OpenTelemetrySdk",
"GRPC"
],
"product_memberships" : [
"LogsSample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"OpenTelemetryProtocolExporterGrpc"
],
"type" : "executable"
},
{
"c99name" : "LoggingTracer",
"module_type" : "SwiftTarget",
"name" : "LoggingTracer",
"path" : "Examples/Logging Tracer",
"product_dependencies" : [
"OpenTelemetryApi"
],
"product_memberships" : [
"loggingTracer"
],
"sources" : [
"Logger.swift",
"LoggingBinaryFormat.swift",
"LoggingSpan.swift",
"LoggingTextFormat.swift",
"LoggingTracer.swift",
"LoggingTracerProvider.swift",
"main.swift"
],
"type" : "executable"
},
{
"c99name" : "InMemoryExporterTests",
"module_type" : "SwiftTarget",
"name" : "InMemoryExporterTests",
"path" : "Tests/ExportersTests/InMemory",
"sources" : [
"InMemoryExporterTests.swift"
],
"target_dependencies" : [
"InMemoryExporter"
],
"type" : "test"
},
{
"c99name" : "InMemoryExporter",
"module_type" : "SwiftTarget",
"name" : "InMemoryExporter",
"path" : "Sources/Exporters/InMemory",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"product_memberships" : [
"InMemoryExporter"
],
"sources" : [
"InMemoryExporter.swift"
],
"type" : "library"
},
{
"c99name" : "ContribTests",
"module_type" : "SwiftTarget",
"name" : "ContribTests",
"path" : "Tests/ContribTests",
"sources" : [
"Processors/BaggagePropagationProcessorTests.swift"
],
"target_dependencies" : [
"BaggagePropagationProcessor",
"InMemoryExporter"
],
"type" : "test"
},
{
"c99name" : "BaggagePropagationProcessor",
"module_type" : "SwiftTarget",
"name" : "BaggagePropagationProcessor",
"path" : "Sources/Contrib/Processors/BaggagePropagationProcessor",
"product_dependencies" : [
"OpenTelemetryApi",
"OpenTelemetrySdk"
],
"product_memberships" : [
"BaggagePropagationProcessor"
],
"sources" : [
"BaggagePropagationProcessor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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/open-telemetry/opentelemetry-swift-core.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/2559] Fetching swift-metrics
[1179/16124] Fetching swift-metrics, opentelemetry-swift-core
[3510/22008] Fetching swift-metrics, opentelemetry-swift-core, swift-log
[6338/73397] Fetching swift-metrics, opentelemetry-swift-core, swift-log, grpc-swift
Fetched https://github.com/apple/swift-metrics.git from cache (0.40s)
[16187/70838] Fetching opentelemetry-swift-core, swift-log, grpc-swift
[28701/152642] Fetching opentelemetry-swift-core, swift-log, grpc-swift, swift-nio
[107097/194792] Fetching opentelemetry-swift-core, swift-log, grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (2.24s)
[79813/143403] Fetching opentelemetry-swift-core, swift-log, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (6.69s)
Fetched https://github.com/apple/swift-nio.git from cache (6.84s)
Fetched https://github.com/open-telemetry/opentelemetry-swift-core.git from cache (7.54s)
Fetched https://github.com/apple/swift-protobuf.git from cache (7.61s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (8.15s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.60s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (0.58s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.1 (2.54s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/1820] Fetching swift-atomics
[74/4629] Fetching swift-atomics, swift-nio-transport-services
[1277/11066] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras
[4790/22790] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[13647/38086] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl
[13648/57145] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.08s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.09s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.09s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.10s)
Fetched https://github.com/apple/swift-collections.git from cache (2.12s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.13s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift-core.git
Computed https://github.com/open-telemetry/opentelemetry-swift-core.git at 2.3.0 (2.73s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.51s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.94.0 (2.85s)
Fetching https://github.com/apple/swift-system.git
[1/5542] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.50s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (1.49s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.75s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.91s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.32.1 (1.42s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
[1/1204] Fetching swift-http-structured-headers
[423/2896] Fetching swift-http-structured-headers, swift-asn1
[2001/8957] Fetching swift-http-structured-headers, swift-asn1, swift-async-algorithms
[2504/15009] Fetching swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-algorithms
[6472/17577] Fetching swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-algorithms, swift-service-lifecycle
[7285/24664] Fetching swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-algorithms, swift-service-lifecycle, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.33s)
[14893/22972] Fetching swift-http-structured-headers, swift-async-algorithms, swift-algorithms, swift-service-lifecycle, swift-certificates
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.52s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.53s)
[1/951] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.60s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.60s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.60s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.29s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.03s)
Fetching https://github.com/apple/swift-numerics.git
[1/6403] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.44s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (1.05s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (1.39s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.80s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.74s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.77s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.1 (0.67s)
Fetching https://github.com/apple/swift-crypto.git
[1/17505] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.78s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (3.33s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.55s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (2.11s)
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-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.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.1.1
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.33.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
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.1
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.9.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.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.26.0
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.32.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.9.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.94.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.3.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.6.4
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.36.0
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.1
Creating working copy for https://github.com/open-telemetry/opentelemetry-swift-core.git
Working copy of https://github.com/open-telemetry/opentelemetry-swift-core.git resolved at 2.3.0
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.5.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.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.6.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.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.1.1
[1/1] Compiling plugin SwiftProtobufPlugin
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:264:42: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
262 | }
263 |
264 | let workDirectory = PathLike(context.pluginWorkDirectory)
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
265 |
266 | return try self.createBuildCommands(
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:287:18: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
285 |
286 | init(_ path: String) {
287 | self.value = Path(path)
| `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
288 | }
289 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:291:26: warning: 'path' is deprecated: renamed to 'url'
289 |
290 | init(_ element: FileList.Element) {
291 | self.value = element.path
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
292 | }
293 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:295:26: warning: 'path' is deprecated: renamed to 'url'
293 |
294 | init(_ element: PluginContext.Tool) {
295 | self.value = element.path
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
296 | }
297 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:303:23: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
301 |
302 | var lastComponent: String {
303 | return self.value.lastComponent
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
304 | }
305 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:308:29: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
306 | func removingLastComponent() -> Self {
307 | var copy = self
308 | copy.value = self.value.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
309 | return copy
310 | }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:314:29: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
312 | func appending(_ path: String) -> Self {
313 | var copy = self
314 | copy.value = self.value.appending(path)
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
315 | return copy
316 | }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:327:17: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
325 | outputFiles: [PathLike]
326 | ) -> PackagePlugin.Command {
327 | return Self.buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
328 | displayName: displayName,
329 | executable: executable.value,
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:339:35: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
337 | extension URL {
338 | init(_ pathLike: PathLike) {
339 | self = URL(fileURLWithPath: "\(pathLike.value)")
| `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
340 | }
341 | }
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[2/493] Write sources
[19/493] Compiling CGRPCZlib empty.c
[20/493] Write sources
[22/493] Compiling _AtomicsShims.c
[23/493] Copying PrivacyInfo.xcprivacy
[24/493] Write sources
[44/493] Compiling x25519-asm-arm.S
[45/493] Compiling CNIOWindows shim.c
[46/493] Compiling CNIOWindows WSAStartup.c
[47/493] Compiling CNIOWASI CNIOWASI.c
[48/493] Compiling CNIOPosix event_loop_id.c
[49/493] Compiling CNIOOpenBSD shim.c
[50/493] Compiling CNIOLinux shim.c
[51/493] Compiling CNIOLinux liburing_shims.c
[52/493] Write swift-version-24593BA9C3E375BF.txt
[53/493] Compiling CNIOLLHTTP c_nio_http.c
[54/493] Compiling CNIOLLHTTP c_nio_api.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/a_bitstr.cc:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[55/499] Compiling a_bitstr.cc
[55/499] Compiling a_object.cc
<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/499] Compiling CNIOLLHTTP c_nio_llhttp.c
[55/499] Compiling convert.cc
[55/499] Compiling a_octet.cc
[55/499] Compiling c-atomics.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:264:42: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
262 | }
263 |
264 | let workDirectory = PathLike(context.pluginWorkDirectory)
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
265 |
266 | return try self.createBuildCommands(
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:287:18: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
285 |
286 | init(_ path: String) {
287 | self.value = Path(path)
| `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
288 | }
289 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:291:26: warning: 'path' is deprecated: renamed to 'url'
289 |
290 | init(_ element: FileList.Element) {
291 | self.value = element.path
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
292 | }
293 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:295:26: warning: 'path' is deprecated: renamed to 'url'
293 |
294 | init(_ element: PluginContext.Tool) {
295 | self.value = element.path
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
296 | }
297 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:303:23: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
301 |
302 | var lastComponent: String {
303 | return self.value.lastComponent
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
304 | }
305 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:308:29: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
306 | func removingLastComponent() -> Self {
307 | var copy = self
308 | copy.value = self.value.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
309 | return copy
310 | }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:314:29: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
312 | func appending(_ path: String) -> Self {
313 | var copy = self
314 | copy.value = self.value.appending(path)
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
315 | return copy
316 | }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:327:17: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
325 | outputFiles: [PathLike]
326 | ) -> PackagePlugin.Command {
327 | return Self.buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
328 | displayName: displayName,
329 | executable: executable.value,
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:339:35: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
337 | extension URL {
338 | init(_ pathLike: PathLike) {
339 | self = URL(fileURLWithPath: "\(pathLike.value)")
| `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
340 | }
341 | }
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[2/441] Compiling CNIODarwin shim.c
[3/441] Compiling fiat_curve25519_adx_square.S
[4/441] Compiling fiat_p256_adx_mul.S
[5/441] Compiling fiat_p256_adx_sqr.S
[6/441] Compiling fiat_curve25519_adx_mul.S
[7/441] Write swift-version-24593BA9C3E375BF.txt
[8/441] Compiling CNIOBoringSSLShims shims.c
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>
| ^~~~~~~~~~~
1 error generated.
[9/445] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/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>
| ^~~~~~~~~~~
[9/445] Compiling tls13_enc.cc
[9/445] Compiling CNIOLLHTTP c_nio_llhttp.c
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>
| ^~~~~~~~~~~
[9/445] Compiling tls13_client.cc
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>
| ^~~~~~~~~~~
[9/445] Compiling tls13_both.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>
| ^~~~~~~~~~~
[9/445] Compiling tls_record.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>
| ^~~~~~~~~~~
[9/445] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm