Build Information
Failed to build opentelemetry-swift, reference 2.3.0 (df57cc), with Swift 6.1 for Wasm on 11 Dec 2025 23:39:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/open-telemetry/opentelemetry-swift.git
Reference: 2.3.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/open-telemetry/opentelemetry-swift
* tag 2.3.0 -> FETCH_HEAD
HEAD is now at df57cc4 Release 2.3.0 (#1010)
Cloned https://github.com/open-telemetry/opentelemetry-swift.git
Revision (git rev-parse @):
df57cc4fd0b4cf4f9d715253c6aaba4b6912f7e0
SUCCESS checkout https://github.com/open-telemetry/opentelemetry-swift.git at 2.3.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/open-telemetry/opentelemetry-swift.git
https://github.com/open-telemetry/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.91.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "grpc-swift",
"requirement" : {
"exact" : [
"1.27.0"
]
},
"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.7.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"
],
"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-4609320-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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-protobuf.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-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-metrics.git
[1/2505] Fetching swift-metrics
[202/15945] Fetching swift-metrics, opentelemetry-swift-core
[462/21692] Fetching swift-metrics, opentelemetry-swift-core, swift-log
[5691/73081] Fetching swift-metrics, opentelemetry-swift-core, swift-log, grpc-swift
[11184/153782] Fetching swift-metrics, opentelemetry-swift-core, swift-log, grpc-swift, swift-nio
Fetched https://github.com/apple/swift-metrics.git from cache (0.98s)
[9941/151277] Fetching opentelemetry-swift-core, swift-log, grpc-swift, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.39s)
[21295/145530] Fetching opentelemetry-swift-core, grpc-swift, swift-nio
[37146/187050] Fetching opentelemetry-swift-core, grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/open-telemetry/opentelemetry-swift-core.git from cache (14.46s)
Fetched https://github.com/grpc/grpc-swift.git from cache (14.50s)
Fetched https://github.com/apple/swift-protobuf.git from cache (14.53s)
Fetched https://github.com/apple/swift-nio.git from cache (14.56s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (17.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.1 (0.77s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (1.87s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.0 (3.05s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/1820] Fetching swift-atomics
[1821/8184] Fetching swift-atomics, swift-nio-extras
[8185/10993] Fetching swift-atomics, swift-nio-extras, swift-nio-transport-services
[10994/29371] Fetching swift-atomics, swift-nio-extras, swift-nio-transport-services, swift-collections
[12097/41089] Fetching swift-atomics, swift-nio-extras, swift-nio-transport-services, swift-collections, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.85s)
[12053/34725] Fetching swift-atomics, swift-nio-transport-services, swift-collections, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.85s)
[9427/31916] Fetching swift-atomics, swift-collections, swift-nio-http2
[11934/47212] Fetching swift-atomics, swift-collections, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (1.90s)
[44934/45392] Fetching swift-collections, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.92s)
Fetched https://github.com/apple/swift-collections.git from cache (1.94s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (3.66s)
Fetching https://github.com/apple/swift-system.git
[1/5221] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.41s)
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 (1.05s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.52s)
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.56s)
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 (0.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.67s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.80s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.2 (0.72s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
[1/1204] Fetching swift-http-structured-headers
[1205/3772] Fetching swift-http-structured-headers, swift-service-lifecycle
[1539/9605] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms
[9606/15646] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-algorithms
[13352/22686] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-algorithms, swift-certificates
[22687/24353] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-algorithms, swift-certificates, swift-asn1
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.79s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.79s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.79s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.80s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.80s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-certificates.git from cache (1.80s)
[1/951] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.24s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.68s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.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.9.1 (2.34s)
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.20s)
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.84s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (1.98s)
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.59s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.89s)
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.59s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (0.76s)
Fetching https://github.com/apple/swift-crypto.git
[1/17465] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.59s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (5.53s)
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.31.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.17.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.0
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-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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.91.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/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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.7.1
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-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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.1
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.3
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/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-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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.1
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
[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] Copying PrivacyInfo.xcprivacy
[19/493] Write sources
[40/493] Compiling _AtomicsShims.c
[41/493] Compiling CNIOWindows shim.c
[42/493] Compiling CNIOWASI CNIOWASI.c
[43/493] Compiling CNIOWindows WSAStartup.c
[44/493] Compiling ghashv8-armv7-linux.S
[45/493] Compiling CNIOPosix event_loop_id.c
[46/493] Compiling CNIOOpenBSD shim.c
[47/493] Compiling CNIOLinux liburing_shims.c
[48/493] Compiling CNIOLinux shim.c
[49/493] Compiling CNIODarwin shim.c
[50/493] Compiling CNIOLLHTTP c_nio_http.c
[51/493] Compiling fiat_p256_adx_sqr.S
[52/493] Compiling CNIOLLHTTP c_nio_api.c
[53/493] Compiling fiat_p256_adx_mul.S
[54/493] Compiling fiat_curve25519_adx_mul.S
[55/493] Compiling fiat_curve25519_adx_square.S
[56/493] Write swift-version-24593BA9C3E375BF.txt
[57/493] Compiling CNIOLLHTTP c_nio_llhttp.c
[58/493] 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.
[59/493] Compiling tls13_server.cc
[59/493] Compiling tls_record.cc
[59/493] Compiling tls13_enc.cc
[59/493] Compiling tls_method.cc
[59/493] Compiling x509spki.cc
[59/493] Compiling dh_asn1.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
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...
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>
| ^~~~~~~~~~~
1 error generated.
[2/437] Compiling tls13_enc.cc
[2/437] Compiling tls_record.cc
[2/437] Compiling tls13_both.cc
[2/437] Compiling tls13_client.cc
[2/437] Compiling ssl_x509.cc
[2/437] Compiling tls_method.cc
[2/437] Compiling tls13_server.cc
[2/437] Compiling t1_enc.cc
BUILD FAILURE 6.1 wasm