Build Information
Failed to build opentelemetry-swift, reference 2.3.0 (df57cc), with Swift 6.1 for Android on 11 Dec 2025 23:41:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: android
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-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/open-telemetry/opentelemetry-swift-core.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio.git
[1/2505] Fetching swift-metrics
[1555/15945] Fetching swift-metrics, opentelemetry-swift-core
[3178/67334] Fetching swift-metrics, opentelemetry-swift-core, grpc-swift
Fetched https://github.com/apple/swift-metrics.git from cache (0.62s)
[4879/64829] Fetching opentelemetry-swift-core, grpc-swift
[12604/145530] Fetching opentelemetry-swift-core, grpc-swift, swift-nio
Fetched https://github.com/open-telemetry/opentelemetry-swift-core.git from cache (1.47s)
[37428/132090] Fetching grpc-swift, swift-nio
[64507/173610] Fetching grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (4.06s)
[83848/122221] Fetching swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio.git from cache (14.97s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-protobuf.git from cache (16.47s)
[1/5747] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (17.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.1 (0.80s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (0.82s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.0 (3.88s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2809] Fetching swift-nio-transport-services
[2052/4629] Fetching swift-nio-transport-services, swift-atomics
[2081/10993] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras
[3502/22711] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-nio-http2
[7050/38007] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-nio-http2, swift-nio-ssl
[10002/56385] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-collections
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.73s)
[9446/53576] Fetching swift-atomics, swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.26s)
[17393/51756] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.54s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.83s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.85s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.86s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (5.42s)
Fetching https://github.com/apple/swift-system.git
[1/5221] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.56s)
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.25s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.77s)
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.82s)
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.10s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (2.94s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.85s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.2 (1.96s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1204] Fetching swift-http-structured-headers
[1205/2871] Fetching swift-http-structured-headers, swift-asn1
[1206/5439] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[1207/12479] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates
[1208/18520] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates, swift-algorithms
[1444/24353] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates, swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.79s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.79s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-asn1.git from cache (0.88s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.88s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.88s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.88s)
[1/951] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.34s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.83s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.64s)
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.46s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.87s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (1.25s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (1.04s)
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.65s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.58s)
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.70s)
Fetching https://github.com/apple/swift-crypto.git
[1/17465] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.89s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (4.84s)
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/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-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-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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.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/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-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-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-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/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-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-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-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-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-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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.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.36.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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.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
[8/493] Copying PrivacyInfo.xcprivacy
[8/493] Write sources
[40/493] Compiling CNIOWindows shim.c
[41/493] Compiling CNIOWASI CNIOWASI.c
[42/493] Compiling _AtomicsShims.c
[42/493] Compiling CNIOWindows WSAStartup.c
[44/493] Compiling CNIOLinux liburing_shims.c
[45/493] Compiling CNIOPosix event_loop_id.c
[46/493] Compiling CNIOOpenBSD shim.c
[47/493] Compiling CNIODarwin shim.c
[48/493] Compiling CNIOLLHTTP c_nio_http.c
[49/493] Compiling CNIOLinux shim.c
[50/493] Compiling fiat_p256_adx_mul.S
[51/493] Compiling fiat_curve25519_adx_square.S
[52/493] Compiling fiat_p256_adx_sqr.S
[53/493] Compiling CNIOLLHTTP c_nio_api.c
[54/493] Compiling fiat_curve25519_adx_mul.S
[55/493] Write swift-version-24593BA9C3E375BF.txt
[56/493] Compiling CNIOLLHTTP c_nio_llhttp.c
[57/497] Compiling CNIOBoringSSLShims shims.c
[58/499] Compiling tls13_enc.cc
[59/500] Compiling tls_method.cc
[60/586] Compiling tls13_both.cc
[61/586] Compiling tls_record.cc
[62/739] Compiling tls13_server.cc
[63/739] Compiling tls13_client.cc
[65/758] Compiling InternalCollectionsUtilities Debugging.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[66/758] Compiling InternalCollectionsUtilities Descriptions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[67/758] Emitting module _NIOBase64
<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
[68/758] Compiling _NIOBase64 Base64.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[69/761] Compiling InternalCollectionsUtilities LifetimeOverride.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[70/761] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[71/761] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[72/761] Compiling InternalCollectionsUtilities Integer rank.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[73/761] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[74/761] Compiling InternalCollectionsUtilities _SortedCollection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[75/761] Compiling InternalCollectionsUtilities _UniqueCollection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[76/761] Compiling InternalCollectionsUtilities UInt+reversed.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[77/761] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[78/761] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[79/761] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[80/761] Compiling Logging LogHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[81/761] Emitting module InternalCollectionsUtilities
<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
[82/761] Compiling _NIODataStructures _TinyArray.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[83/761] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[84/761] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[85/761] Compiling _NIODataStructures PriorityQueue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[87/761] Emitting module _NIODataStructures
<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
[88/761] Compiling _NIODataStructures Heap.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[89/762] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[90/762] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[91/763] Wrapping AST for _NIOBase64 for debugging
[93/763] Wrapping AST for _NIODataStructures for debugging
[95/763] Compiling CoreMetrics Metrics.swift
[96/778] Compiling DequeModule Deque+CustomReflectable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[97/778] Compiling DequeModule Deque+Descriptions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[98/778] Compiling DequeModule _DequeBuffer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[99/778] Compiling DequeModule _DequeBufferHeader.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[100/780] Compiling DequeModule Deque+Equatable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[101/780] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[102/780] Compiling DequeModule Deque+Testing.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[103/780] Compiling DequeModule Deque._Storage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[104/780] Compiling DequeModule Deque+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[105/780] Compiling DequeModule Deque+Hashable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[105/780] Compiling t1_enc.cc
[106/780] Wrapping AST for InternalCollectionsUtilities for debugging
[108/780] Compiling DequeModule Deque+Codable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[109/780] Compiling DequeModule Deque+Collection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[110/780] Compiling DequeModule Deque._UnsafeHandle.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[111/780] Compiling DequeModule Deque.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[112/780] Emitting module OpenTelemetryApi
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[113/800] Compiling DequeModule _DequeSlot.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[114/800] Compiling DequeModule _UnsafeWrappedBuffer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[114/800] Compiling ssl_x509.cc
[116/800] Compiling Logging MetadataProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[117/800] Emitting module Logging
<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
[118/800] Compiling Logging Locks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[119/800] Compiling CoreMetrics Locks.swift
[120/800] Emitting module CoreMetrics
[121/801] Compiling Logging Logging.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[124/802] Emitting module DequeModule
<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
[124/803] Wrapping AST for Logging for debugging
[126/803] Wrapping AST for DequeModule for debugging
[128/803] Compiling OpenTelemetryApi Source_attributes.swift
[129/803] Compiling OpenTelemetryApi System_attributes.swift
[130/803] Compiling OpenTelemetryApi Telemetry_attributes.swift
[131/803] Compiling OpenTelemetryApi Test_attributes.swift
[132/803] Compiling OpenTelemetryApi Thread_attributes.swift
[133/803] Compiling OpenTelemetryApi Tls_attributes.swift
[134/803] Compiling OpenTelemetryApi Url_attributes.swift
[135/803] Compiling OpenTelemetryApi UserAgent_attributes.swift
[136/803] Compiling OpenTelemetryApi User_attributes.swift
[137/803] Compiling OpenTelemetryApi V8js_attributes.swift
[138/803] Compiling OpenTelemetryApi Vcs_attributes.swift
[139/803] Compiling OpenTelemetryApi Webengine_attributes.swift
[140/803] Compiling OpenTelemetryApi Zos_attributes.swift
[141/803] Compiling OpenTelemetryApi SemanticConventions.swift
[142/803] Compiling OpenTelemetryApi ActivityContextManager.swift
[143/803] Compiling OpenTelemetryApi ContextManager.swift
[144/803] Compiling OpenTelemetryApi OpenTelemetryContextProvider.swift
[145/803] Compiling OpenTelemetryApi TaskLocalContextManager.swift
[146/803] Compiling OpenTelemetryApi StringUtils.swift
[147/803] Compiling OpenTelemetryApi SwiftExtensions.swift
[148/803] Compiling OpenTelemetryApi TracestateUtils.swift
[149/803] Compiling OpenTelemetryApi PropagatedSpan.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[150/803] Compiling OpenTelemetryApi PropagatedSpanBuilder.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[151/803] Compiling OpenTelemetryApi B3Propagator.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[152/803] Compiling OpenTelemetryApi BinaryFormattable.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[153/803] Compiling OpenTelemetryApi JaegerPropagator.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[154/803] Compiling OpenTelemetryApi TextMapPropagator.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[155/803] Compiling OpenTelemetryApi W3CTraceContextPropagator.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[156/803] Compiling OpenTelemetryApi SemanticAttributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[157/803] Compiling OpenTelemetryApi Span.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[158/803] Compiling OpenTelemetryApi SpanBuilder.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[159/803] Compiling OpenTelemetryApi SpanContext.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[160/803] Compiling OpenTelemetryApi SpanException.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[161/803] Compiling OpenTelemetryApi SpanId.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[162/803] Compiling OpenTelemetryApi SpanKind.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[163/803] Compiling OpenTelemetryApi Status.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[164/803] Compiling OpenTelemetryApi TraceFlags.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[165/803] Compiling OpenTelemetryApi TraceId.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[166/803] Compiling OpenTelemetryApi TraceState.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[167/803] Compiling OpenTelemetryApi Tracer.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[168/803] Compiling OpenTelemetryApi TracerProvider.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[169/803] Compiling OpenTelemetryApi DefaultLogger.swift
[170/803] Compiling OpenTelemetryApi DefaultLoggerProvider.swift
[171/803] Compiling OpenTelemetryApi EventBuilder.swift
[172/803] Compiling OpenTelemetryApi LogRecordBuilder.swift
[173/803] Compiling OpenTelemetryApi Logger.swift
[174/803] Compiling OpenTelemetryApi LoggerBuilder.swift
[175/803] Compiling OpenTelemetryApi LoggerProvider.swift
[176/803] Compiling OpenTelemetryApi Severity.swift
[177/803] Compiling OpenTelemetryApi DefaultMeter.swift
[178/803] Compiling OpenTelemetryApi DefaultMeterProvider.swift
[179/803] Compiling OpenTelemetryApi DoubleCounter.swift
[180/803] Compiling OpenTelemetryApi DoubleCounterBuilder.swift
[181/803] Compiling OpenTelemetryApi DoubleGauge.swift
[182/803] Compiling OpenTelemetryApi DoubleGaugeBuilder.swift
[183/803] Compiling OpenTelemetryApi DoubleHistogram.swift
[184/803] Compiling OpenTelemetryApi DoubleHistogramBuilder.swift
[185/803] Compiling OpenTelemetryApi DoubleUpDownCounter.swift
[186/803] Compiling OpenTelemetryApi DoubleUpDownCounterBuilder.swift
[187/803] Compiling OpenTelemetryApi LongCounter.swift
[188/803] Compiling OpenTelemetryApi LongCounterBuilder.swift
[189/803] Compiling OpenTelemetryApi LongGauge.swift
[190/803] Compiling OpenTelemetryApi LongGaugeBuilder.swift
[191/803] Compiling OpenTelemetryApi LongHistogram.swift
[192/803] Compiling OpenTelemetryApi LongHistogramBuilder.swift
[193/803] Compiling OpenTelemetryApi LongUpDownCounter.swift
[194/803] Compiling OpenTelemetryApi LongUpDownCounterBuilder.swift
[195/803] Compiling OpenTelemetryApi Meter.swift
[196/803] Compiling OpenTelemetryApi MeterBuilder.swift
[197/803] Compiling OpenTelemetryApi MeterProvider.swift
[198/803] Compiling OpenTelemetryApi ObservableDoubleCounter.swift
[199/803] Compiling OpenTelemetryApi ObservableDoubleGauge.swift
[200/803] Compiling OpenTelemetryApi ObservableDoubleMeasurement.swift
[201/803] Compiling OpenTelemetryApi ObservableDoubleUpDownCounter.swift
[202/803] Compiling OpenTelemetryApi ObservableLongCounter.swift
[203/803] Compiling OpenTelemetryApi ObservableLongGauge.swift
[204/803] Compiling OpenTelemetryApi ObservableLongMeasurement.swift
[205/803] Compiling OpenTelemetryApi ObservableLongUpDownCounter.swift
[206/803] Compiling OpenTelemetryApi OpenTelemetry.swift
[207/803] Compiling OpenTelemetryApi ContextPropagators.swift
[208/803] Compiling OpenTelemetryApi DefaultContextPropagators.swift
[209/803] Compiling OpenTelemetryApi DefaultTracer.swift
[210/803] Compiling OpenTelemetryApi DefaultTracerProvider.swift
[211/803] Emitting module SharedTestUtils
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:528:23: warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
526 | }
527 |
528 | public static let GET = HTTPMethod(rawValue: "GET")
| |- warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'GET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
529 | public static let POST = HTTPMethod(rawValue: "POST")
530 | public static let PUT = HTTPMethod(rawValue: "PUT")
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:529:23: warning: static property 'POST' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
527 |
528 | public static let GET = HTTPMethod(rawValue: "GET")
529 | public static let POST = HTTPMethod(rawValue: "POST")
| |- warning: static property 'POST' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'POST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
530 | public static let PUT = HTTPMethod(rawValue: "PUT")
531 | public static let DELETE = HTTPMethod(rawValue: "DELETE")
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:530:23: warning: static property 'PUT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
528 | public static let GET = HTTPMethod(rawValue: "GET")
529 | public static let POST = HTTPMethod(rawValue: "POST")
530 | public static let PUT = HTTPMethod(rawValue: "PUT")
| |- warning: static property 'PUT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'PUT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
531 | public static let DELETE = HTTPMethod(rawValue: "DELETE")
532 | public static let HEAD = HTTPMethod(rawValue: "HEAD")
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:531:23: warning: static property 'DELETE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
529 | public static let POST = HTTPMethod(rawValue: "POST")
530 | public static let PUT = HTTPMethod(rawValue: "PUT")
531 | public static let DELETE = HTTPMethod(rawValue: "DELETE")
| |- warning: static property 'DELETE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DELETE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
532 | public static let HEAD = HTTPMethod(rawValue: "HEAD")
533 | public static let OPTIONS = HTTPMethod(rawValue: "OPTIONS")
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:532:23: warning: static property 'HEAD' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
530 | public static let PUT = HTTPMethod(rawValue: "PUT")
531 | public static let DELETE = HTTPMethod(rawValue: "DELETE")
532 | public static let HEAD = HTTPMethod(rawValue: "HEAD")
| |- warning: static property 'HEAD' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'HEAD' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
533 | public static let OPTIONS = HTTPMethod(rawValue: "OPTIONS")
534 | public static let PATCH = HTTPMethod(rawValue: "PATCH")
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:533:23: warning: static property 'OPTIONS' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
531 | public static let DELETE = HTTPMethod(rawValue: "DELETE")
532 | public static let HEAD = HTTPMethod(rawValue: "HEAD")
533 | public static let OPTIONS = HTTPMethod(rawValue: "OPTIONS")
| |- warning: static property 'OPTIONS' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'OPTIONS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
534 | public static let PATCH = HTTPMethod(rawValue: "PATCH")
535 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:534:23: warning: static property 'PATCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
532 | public static let HEAD = HTTPMethod(rawValue: "HEAD")
533 | public static let OPTIONS = HTTPMethod(rawValue: "OPTIONS")
534 | public static let PATCH = HTTPMethod(rawValue: "PATCH")
| |- warning: static property 'PATCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'PATCH' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
535 | }
536 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:580:23: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPResponseStatus' may have shared mutable state; this is an error in the Swift 6 language mode
574 |
575 | /// HTTPResponseStatus for compatibility
576 | public struct HTTPResponseStatus {
| `- note: consider making struct 'HTTPResponseStatus' conform to the 'Sendable' protocol
577 | public let code: UInt
578 | public let reasonPhrase: String
579 |
580 | public static let ok = HTTPResponseStatus(code: 200, reasonPhrase: "OK")
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPResponseStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
581 | public static let imATeapot = HTTPResponseStatus(code: 418, reasonPhrase: "I'm a teapot")
582 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:581:23: warning: static property 'imATeapot' is not concurrency-safe because non-'Sendable' type 'HTTPResponseStatus' may have shared mutable state; this is an error in the Swift 6 language mode
574 |
575 | /// HTTPResponseStatus for compatibility
576 | public struct HTTPResponseStatus {
| `- note: consider making struct 'HTTPResponseStatus' conform to the 'Sendable' protocol
577 | public let code: UInt
578 | public let reasonPhrase: String
579 |
580 | public static let ok = HTTPResponseStatus(code: 200, reasonPhrase: "OK")
581 | public static let imATeapot = HTTPResponseStatus(code: 418, reasonPhrase: "I'm a teapot")
| |- warning: static property 'imATeapot' is not concurrency-safe because non-'Sendable' type 'HTTPResponseStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'imATeapot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
582 | }
583 |
[212/803] Compiling SharedTestUtils HttpTestServer.swift
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:528:23: warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
526 | }
527 |
528 | public static let GET = HTTPMethod(rawValue: "GET")
| |- warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'GET' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
529 | public static let POST = HTTPMethod(rawValue: "POST")
530 | public static let PUT = HTTPMethod(rawValue: "PUT")
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:529:23: warning: static property 'POST' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
527 |
528 | public static let GET = HTTPMethod(rawValue: "GET")
529 | public static let POST = HTTPMethod(rawValue: "POST")
| |- warning: static property 'POST' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'POST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
530 | public static let PUT = HTTPMethod(rawValue: "PUT")
531 | public static let DELETE = HTTPMethod(rawValue: "DELETE")
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:530:23: warning: static property 'PUT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
528 | public static let GET = HTTPMethod(rawValue: "GET")
529 | public static let POST = HTTPMethod(rawValue: "POST")
530 | public static let PUT = HTTPMethod(rawValue: "PUT")
| |- warning: static property 'PUT' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'PUT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
531 | public static let DELETE = HTTPMethod(rawValue: "DELETE")
532 | public static let HEAD = HTTPMethod(rawValue: "HEAD")
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:531:23: warning: static property 'DELETE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
529 | public static let POST = HTTPMethod(rawValue: "POST")
530 | public static let PUT = HTTPMethod(rawValue: "PUT")
531 | public static let DELETE = HTTPMethod(rawValue: "DELETE")
| |- warning: static property 'DELETE' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DELETE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
532 | public static let HEAD = HTTPMethod(rawValue: "HEAD")
533 | public static let OPTIONS = HTTPMethod(rawValue: "OPTIONS")
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:532:23: warning: static property 'HEAD' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
530 | public static let PUT = HTTPMethod(rawValue: "PUT")
531 | public static let DELETE = HTTPMethod(rawValue: "DELETE")
532 | public static let HEAD = HTTPMethod(rawValue: "HEAD")
| |- warning: static property 'HEAD' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'HEAD' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
533 | public static let OPTIONS = HTTPMethod(rawValue: "OPTIONS")
534 | public static let PATCH = HTTPMethod(rawValue: "PATCH")
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:533:23: warning: static property 'OPTIONS' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
531 | public static let DELETE = HTTPMethod(rawValue: "DELETE")
532 | public static let HEAD = HTTPMethod(rawValue: "HEAD")
533 | public static let OPTIONS = HTTPMethod(rawValue: "OPTIONS")
| |- warning: static property 'OPTIONS' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'OPTIONS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
534 | public static let PATCH = HTTPMethod(rawValue: "PATCH")
535 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:534:23: warning: static property 'PATCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | /// HTTPMethod for compatibility
521 | public struct HTTPMethod: Equatable, RawRepresentable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
522 | public let rawValue: String
523 |
:
532 | public static let HEAD = HTTPMethod(rawValue: "HEAD")
533 | public static let OPTIONS = HTTPMethod(rawValue: "OPTIONS")
534 | public static let PATCH = HTTPMethod(rawValue: "PATCH")
| |- warning: static property 'PATCH' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'PATCH' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
535 | }
536 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:580:23: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPResponseStatus' may have shared mutable state; this is an error in the Swift 6 language mode
574 |
575 | /// HTTPResponseStatus for compatibility
576 | public struct HTTPResponseStatus {
| `- note: consider making struct 'HTTPResponseStatus' conform to the 'Sendable' protocol
577 | public let code: UInt
578 | public let reasonPhrase: String
579 |
580 | public static let ok = HTTPResponseStatus(code: 200, reasonPhrase: "OK")
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPResponseStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
581 | public static let imATeapot = HTTPResponseStatus(code: 418, reasonPhrase: "I'm a teapot")
582 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:581:23: warning: static property 'imATeapot' is not concurrency-safe because non-'Sendable' type 'HTTPResponseStatus' may have shared mutable state; this is an error in the Swift 6 language mode
574 |
575 | /// HTTPResponseStatus for compatibility
576 | public struct HTTPResponseStatus {
| `- note: consider making struct 'HTTPResponseStatus' conform to the 'Sendable' protocol
577 | public let code: UInt
578 | public let reasonPhrase: String
579 |
580 | public static let ok = HTTPResponseStatus(code: 200, reasonPhrase: "OK")
581 | public static let imATeapot = HTTPResponseStatus(code: 418, reasonPhrase: "I'm a teapot")
| |- warning: static property 'imATeapot' is not concurrency-safe because non-'Sendable' type 'HTTPResponseStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'imATeapot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
582 | }
583 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:61:24: error: cannot find 'socket' in scope
59 | serverSocket = socket(AF_INET, SOCK_STREAM, 0)
60 | #else
61 | serverSocket = socket(AF_INET, Int32(SOCK_STREAM.rawValue), 0)
| `- error: cannot find 'socket' in scope
62 | #endif
63 | guard serverSocket >= 0 else {
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:61:31: error: cannot find 'AF_INET' in scope
59 | serverSocket = socket(AF_INET, SOCK_STREAM, 0)
60 | #else
61 | serverSocket = socket(AF_INET, Int32(SOCK_STREAM.rawValue), 0)
| `- error: cannot find 'AF_INET' in scope
62 | #endif
63 | guard serverSocket >= 0 else {
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:61:46: error: cannot find 'SOCK_STREAM' in scope
59 | serverSocket = socket(AF_INET, SOCK_STREAM, 0)
60 | #else
61 | serverSocket = socket(AF_INET, Int32(SOCK_STREAM.rawValue), 0)
| `- error: cannot find 'SOCK_STREAM' in scope
62 | #endif
63 | guard serverSocket >= 0 else {
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:69:9: error: cannot find 'setsockopt' in scope
67 | // Allow reuse
68 | var yes: Int32 = 1
69 | setsockopt(serverSocket, SOL_SOCKET, SO_REUSEADDR, &yes, socklen_t(MemoryLayout<Int32>.size))
| `- error: cannot find 'setsockopt' in scope
70 |
71 | // Set non-blocking mode for OTLP tests
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:69:34: error: cannot find 'SOL_SOCKET' in scope
67 | // Allow reuse
68 | var yes: Int32 = 1
69 | setsockopt(serverSocket, SOL_SOCKET, SO_REUSEADDR, &yes, socklen_t(MemoryLayout<Int32>.size))
| `- error: cannot find 'SOL_SOCKET' in scope
70 |
71 | // Set non-blocking mode for OTLP tests
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:69:46: error: cannot find 'SO_REUSEADDR' in scope
67 | // Allow reuse
68 | var yes: Int32 = 1
69 | setsockopt(serverSocket, SOL_SOCKET, SO_REUSEADDR, &yes, socklen_t(MemoryLayout<Int32>.size))
| `- error: cannot find 'SO_REUSEADDR' in scope
70 |
71 | // Set non-blocking mode for OTLP tests
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:73:25: error: cannot find 'fcntl' in scope
71 | // Set non-blocking mode for OTLP tests
72 | if config == nil {
73 | let flags = fcntl(serverSocket, F_GETFL, 0)
| `- error: cannot find 'fcntl' in scope
74 | if flags >= 0 {
75 | _ = fcntl(serverSocket, F_SETFL, flags | O_NONBLOCK)
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:73:45: error: cannot find 'F_GETFL' in scope
71 | // Set non-blocking mode for OTLP tests
72 | if config == nil {
73 | let flags = fcntl(serverSocket, F_GETFL, 0)
| `- error: cannot find 'F_GETFL' in scope
74 | if flags >= 0 {
75 | _ = fcntl(serverSocket, F_SETFL, flags | O_NONBLOCK)
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:75:21: error: cannot find 'fcntl' in scope
73 | let flags = fcntl(serverSocket, F_GETFL, 0)
74 | if flags >= 0 {
75 | _ = fcntl(serverSocket, F_SETFL, flags | O_NONBLOCK)
| `- error: cannot find 'fcntl' in scope
76 | }
77 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:75:41: error: cannot find 'F_SETFL' in scope
73 | let flags = fcntl(serverSocket, F_GETFL, 0)
74 | if flags >= 0 {
75 | _ = fcntl(serverSocket, F_SETFL, flags | O_NONBLOCK)
| `- error: cannot find 'F_SETFL' in scope
76 | }
77 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:75:58: error: cannot find 'O_NONBLOCK' in scope
73 | let flags = fcntl(serverSocket, F_GETFL, 0)
74 | if flags >= 0 {
75 | _ = fcntl(serverSocket, F_SETFL, flags | O_NONBLOCK)
| `- error: cannot find 'O_NONBLOCK' in scope
76 | }
77 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:80:20: error: cannot find 'sockaddr_in' in scope
78 |
79 | // Bind to port
80 | var addr = sockaddr_in()
| `- error: cannot find 'sockaddr_in' in scope
81 | addr.sin_family = sa_family_t(AF_INET)
82 | addr.sin_port = in_port_t(port).bigEndian
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:81:27: error: cannot find 'sa_family_t' in scope
79 | // Bind to port
80 | var addr = sockaddr_in()
81 | addr.sin_family = sa_family_t(AF_INET)
| `- error: cannot find 'sa_family_t' in scope
82 | addr.sin_port = in_port_t(port).bigEndian
83 | addr.sin_addr.s_addr = INADDR_ANY
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:81:39: error: cannot find 'AF_INET' in scope
79 | // Bind to port
80 | var addr = sockaddr_in()
81 | addr.sin_family = sa_family_t(AF_INET)
| `- error: cannot find 'AF_INET' in scope
82 | addr.sin_port = in_port_t(port).bigEndian
83 | addr.sin_addr.s_addr = INADDR_ANY
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:82:25: error: cannot find 'in_port_t' in scope
80 | var addr = sockaddr_in()
81 | addr.sin_family = sa_family_t(AF_INET)
82 | addr.sin_port = in_port_t(port).bigEndian
| `- error: cannot find 'in_port_t' in scope
83 | addr.sin_addr.s_addr = INADDR_ANY
84 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:83:32: error: cannot find 'INADDR_ANY' in scope
81 | addr.sin_family = sa_family_t(AF_INET)
82 | addr.sin_port = in_port_t(port).bigEndian
83 | addr.sin_addr.s_addr = INADDR_ANY
| `- error: cannot find 'INADDR_ANY' in scope
84 |
85 | let bindResult = withUnsafePointer(to: &addr) { ptr in
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:86:13: error: cannot find 'bind' in scope
84 |
85 | let bindResult = withUnsafePointer(to: &addr) { ptr in
86 | bind(serverSocket, UnsafeRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find 'bind' in scope
87 | }
88 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:86:78: error: cannot find 'sockaddr' in scope
84 |
85 | let bindResult = withUnsafePointer(to: &addr) { ptr in
86 | bind(serverSocket, UnsafeRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find 'sockaddr' in scope
87 | }
88 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:86:117: error: cannot find type 'sockaddr_in' in scope
84 |
85 | let bindResult = withUnsafePointer(to: &addr) { ptr in
86 | bind(serverSocket, UnsafeRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find type 'sockaddr_in' in scope
87 | }
88 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:86:54: error: generic parameter 'T' could not be inferred
84 |
85 | let bindResult = withUnsafePointer(to: &addr) { ptr in
86 | bind(serverSocket, UnsafeRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: generic parameter 'T' could not be inferred
87 | }
88 |
Swift.UnsafeRawPointer.assumingMemoryBound:2:13: note: in call to function 'assumingMemoryBound(to:)'
1 | struct UnsafeRawPointer {
2 | public func assumingMemoryBound<T>(to: T.Type) -> UnsafePointer<T> where T : ~Copyable}
| `- note: in call to function 'assumingMemoryBound(to:)'
3 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:90:13: error: cannot find 'close' in scope
88 |
89 | guard bindResult >= 0 else {
90 | close(serverSocket)
| `- error: cannot find 'close' in scope
91 | throw TestServerError.bindFailed
92 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:95:26: error: cannot find 'sockaddr_in' in scope
93 |
94 | // Get assigned port if using port 0
95 | var actualAddr = sockaddr_in()
| `- error: cannot find 'sockaddr_in' in scope
96 | var actualAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
97 | let getResult = withUnsafeMutablePointer(to: &actualAddr) { ptr in
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:96:52: error: cannot find type 'sockaddr_in' in scope
94 | // Get assigned port if using port 0
95 | var actualAddr = sockaddr_in()
96 | var actualAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
| `- error: cannot find type 'sockaddr_in' in scope
97 | let getResult = withUnsafeMutablePointer(to: &actualAddr) { ptr in
98 | getsockname(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &actualAddrLen)
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:98:13: error: cannot find 'getsockname' in scope
96 | var actualAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
97 | let getResult = withUnsafeMutablePointer(to: &actualAddr) { ptr in
98 | getsockname(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &actualAddrLen)
| `- error: cannot find 'getsockname' in scope
99 | }
100 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:98:92: error: cannot find 'sockaddr' in scope
96 | var actualAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
97 | let getResult = withUnsafeMutablePointer(to: &actualAddr) { ptr in
98 | getsockname(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &actualAddrLen)
| `- error: cannot find 'sockaddr' in scope
99 | }
100 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:98:68: error: generic parameter 'T' could not be inferred
96 | var actualAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
97 | let getResult = withUnsafeMutablePointer(to: &actualAddr) { ptr in
98 | getsockname(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &actualAddrLen)
| `- error: generic parameter 'T' could not be inferred
99 | }
100 |
Swift.UnsafeMutableRawPointer.assumingMemoryBound:2:13: note: in call to function 'assumingMemoryBound(to:)'
1 | struct UnsafeMutableRawPointer {
2 | public func assumingMemoryBound<T>(to: T.Type) -> UnsafeMutablePointer<T> where T : ~Copyable}
| `- note: in call to function 'assumingMemoryBound(to:)'
3 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:102:13: error: cannot find 'close' in scope
100 |
101 | guard getResult >= 0 else {
102 | close(serverSocket)
| `- error: cannot find 'close' in scope
103 | throw TestServerError.portRetrievalFailed
104 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:110:26: error: cannot find 'ntohs' in scope
108 | serverPort = Int(CFSwapInt16BigToHost(actualAddr.sin_port))
109 | #else
110 | serverPort = Int(ntohs(actualAddr.sin_port))
| `- error: cannot find 'ntohs' in scope
111 | #endif
112 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:114:15: error: cannot find 'listen' in scope
112 |
113 | // Listen
114 | guard listen(serverSocket, 10) >= 0 else {
| `- error: cannot find 'listen' in scope
115 | close(serverSocket)
116 | throw TestServerError.listenFailed
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:115:13: error: cannot find 'close' in scope
113 | // Listen
114 | guard listen(serverSocket, 10) >= 0 else {
115 | close(serverSocket)
| `- error: cannot find 'close' in scope
116 | throw TestServerError.listenFailed
117 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:124:13: warning: capture of 'self' with non-sendable type 'HttpTestServer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
20 | /// A unified HTTP test server using POSIX sockets
21 | /// Combines functionality from both OTLP exporter tests and URLSession instrumentation tests
22 | public class HttpTestServer {
| `- note: class 'HttpTestServer' does not conform to the 'Sendable' protocol
23 | private var serverSocket: Int32 = -1
24 | public private(set) var serverPort: Int = 0
:
122 | // Start accept loop
123 | serverQueue?.async { [weak self] in
124 | self?.acceptLoop()
| `- warning: capture of 'self' with non-sendable type 'HttpTestServer?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
125 | }
126 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:145:13: error: cannot find 'close' in scope
143 | Musl.shutdown(serverSocket, Int32(SHUT_RDWR))
144 | #endif
145 | close(serverSocket)
| `- error: cannot find 'close' in scope
146 | serverSocket = -1
147 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:222:30: error: cannot find 'sockaddr_in' in scope
220 | private func acceptLoop() {
221 | while isRunning {
222 | var clientAddr = sockaddr_in()
| `- error: cannot find 'sockaddr_in' in scope
223 | var clientAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
224 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:223:56: error: cannot find type 'sockaddr_in' in scope
221 | while isRunning {
222 | var clientAddr = sockaddr_in()
223 | var clientAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
| `- error: cannot find type 'sockaddr_in' in scope
224 |
225 | let clientSocket = withUnsafeMutablePointer(to: &clientAddr) { ptr in
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:226:17: error: cannot find 'accept' in scope
224 |
225 | let clientSocket = withUnsafeMutablePointer(to: &clientAddr) { ptr in
226 | accept(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &clientAddrLen)
| `- error: cannot find 'accept' in scope
227 | }
228 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:226:91: error: cannot find 'sockaddr' in scope
224 |
225 | let clientSocket = withUnsafeMutablePointer(to: &clientAddr) { ptr in
226 | accept(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &clientAddrLen)
| `- error: cannot find 'sockaddr' in scope
227 | }
228 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:226:67: error: generic parameter 'T' could not be inferred
224 |
225 | let clientSocket = withUnsafeMutablePointer(to: &clientAddr) { ptr in
226 | accept(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &clientAddrLen)
| `- error: generic parameter 'T' could not be inferred
227 | }
228 |
Swift.UnsafeMutableRawPointer.assumingMemoryBound:2:13: note: in call to function 'assumingMemoryBound(to:)'
1 | struct UnsafeMutableRawPointer {
2 | public func assumingMemoryBound<T>(to: T.Type) -> UnsafeMutablePointer<T> where T : ~Copyable}
| `- note: in call to function 'assumingMemoryBound(to:)'
3 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:230:20: error: cannot find 'errno' in scope
228 |
229 | if clientSocket < 0 {
230 | if errno == EAGAIN || errno == EWOULDBLOCK {
| `- error: cannot find 'errno' in scope
231 | Thread.sleep(forTimeInterval: 0.01)
232 | continue
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:230:39: error: cannot find 'errno' in scope
228 |
229 | if clientSocket < 0 {
230 | if errno == EAGAIN || errno == EWOULDBLOCK {
| `- error: cannot find 'errno' in scope
231 | Thread.sleep(forTimeInterval: 0.01)
232 | continue
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:240:13: error: cannot find 'close' in scope
238 | // Handle client synchronously to ensure proper data handling
239 | handleClient(socket: clientSocket)
240 | close(clientSocket)
| `- error: cannot find 'close' in scope
241 | }
242 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:251:29: error: cannot find 'recv' in scope
249 | // Read headers first
250 | while true {
251 | let bytesRead = recv(clientSocket, &buffer, buffer.count, 0)
| `- error: cannot find 'recv' in scope
252 | guard bytesRead > 0 else {
253 | if bytesRead < 0 && errno == EAGAIN {
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:253:37: error: cannot find 'errno' in scope
251 | let bytesRead = recv(clientSocket, &buffer, buffer.count, 0)
252 | guard bytesRead > 0 else {
253 | if bytesRead < 0 && errno == EAGAIN {
| `- error: cannot find 'errno' in scope
254 | Thread.sleep(forTimeInterval: 0.01)
255 | continue
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:320:33: error: cannot find 'recv' in scope
318 |
319 | while totalRead < remainingBytes {
320 | let bytesRead = recv(clientSocket, &bodyBuffer[totalRead], remainingBytes - totalRead, 0)
| `- error: cannot find 'recv' in scope
321 | guard bytesRead > 0 else {
322 | if bytesRead < 0 && errno == EAGAIN {
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:322:41: error: cannot find 'errno' in scope
320 | let bytesRead = recv(clientSocket, &bodyBuffer[totalRead], remainingBytes - totalRead, 0)
321 | guard bytesRead > 0 else {
322 | if bytesRead < 0 && errno == EAGAIN {
| `- error: cannot find 'errno' in scope
323 | Thread.sleep(forTimeInterval: 0.01)
324 | continue
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:379:13: error: cannot find 'send' in scope
377 | let response = "HTTP/1.1 200 OK\r\nContent-Length: 0\r\nConnection: close\r\n\r\n"
378 | _ = response.withCString { ptr in
379 | send(socket, ptr, strlen(ptr), 0)
| `- error: cannot find 'send' in scope
380 | }
381 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:386:13: error: cannot find 'send' in scope
384 | let response = "HTTP/1.1 400 Bad Request\r\nContent-Length: 0\r\nConnection: close\r\n\r\n"
385 | _ = response.withCString { ptr in
386 | send(socket, ptr, strlen(ptr), 0)
| `- error: cannot find 'send' in scope
387 | }
388 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:393:13: error: cannot find 'send' in scope
391 | let response = "HTTP/1.1 403 Forbidden\r\nContent-Length: 0\r\nConnection: close\r\n\r\n"
392 | _ = response.withCString { ptr in
393 | send(socket, ptr, strlen(ptr), 0)
| `- error: cannot find 'send' in scope
394 | }
395 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:400:13: error: cannot find 'send' in scope
398 | let response = "HTTP/1.1 404 Not Found\r\nContent-Length: 0\r\nConnection: close\r\n\r\n"
399 | _ = response.withCString { ptr in
400 | send(socket, ptr, strlen(ptr), 0)
| `- error: cannot find 'send' in scope
401 | }
402 | }
[212/803] Compiling ssl_transcript.cc
[212/803] Compiling ssl_privkey.cc
[212/803] Compiling ssl_versions.cc
[212/803] Compiling ssl_stat.cc
[212/803] Compiling ssl_session.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin 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/424] Write sources
[3/430] Compiling ssl_versions.cc
[4/430] Compiling ssl_session.cc
[5/430] Compiling ssl_file.cc
[6/430] Compiling ssl_privkey.cc
[7/430] Compiling ssl_stat.cc
[8/430] Compiling ssl_key_share.cc
[9/430] Write swift-version-24593BA9C3E375BF.txt
[10/430] Compiling ssl_transcript.cc
[11/430] Compiling ssl_lib.cc
[13/434] Compiling _NIODataStructures PriorityQueue.swift
[14/436] Compiling _NIODataStructures Heap.swift
[15/436] Emitting module _NIODataStructures
[16/436] Compiling _NIODataStructures _TinyArray.swift
[17/436] Compiling ssl_buffer.cc
[19/461] Emitting module _NIOBase64
[20/461] Compiling _NIOBase64 Base64.swift
[20/522] Compiling ssl_cert.cc
[21/522] Compiling ssl_cipher.cc
[22/522] Compiling ssl_asn1.cc
[23/522] Compiling ssl_credential.cc
[25/523] Compiling ssl_aead_ctx.cc
[27/523] Emitting module SharedTestUtils
[28/713] Compiling Atomics AtomicOptionalWrappable.swift
[29/713] Compiling Atomics AtomicReference.swift
[30/713] Compiling Atomics AtomicStorage.swift
[31/713] Compiling Atomics AtomicValue.swift
[32/715] Compiling Logging LogHandler.swift
[33/715] Compiling Atomics ManagedAtomic.swift
[34/715] Compiling Atomics ManagedAtomicLazyReference.swift
[35/715] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[36/715] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[37/717] Compiling Logging MetadataProvider.swift
[40/717] Compiling Atomics AtomicMemoryOrderings.swift
[41/717] Compiling Atomics DoubleWord.swift
[48/717] Compiling SharedTestUtils HttpTestServer.swift
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:61:24: error: cannot find 'socket' in scope
59 | serverSocket = socket(AF_INET, SOCK_STREAM, 0)
60 | #else
61 | serverSocket = socket(AF_INET, Int32(SOCK_STREAM.rawValue), 0)
| `- error: cannot find 'socket' in scope
62 | #endif
63 | guard serverSocket >= 0 else {
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:61:31: error: cannot find 'AF_INET' in scope
59 | serverSocket = socket(AF_INET, SOCK_STREAM, 0)
60 | #else
61 | serverSocket = socket(AF_INET, Int32(SOCK_STREAM.rawValue), 0)
| `- error: cannot find 'AF_INET' in scope
62 | #endif
63 | guard serverSocket >= 0 else {
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:61:46: error: cannot find 'SOCK_STREAM' in scope
59 | serverSocket = socket(AF_INET, SOCK_STREAM, 0)
60 | #else
61 | serverSocket = socket(AF_INET, Int32(SOCK_STREAM.rawValue), 0)
| `- error: cannot find 'SOCK_STREAM' in scope
62 | #endif
63 | guard serverSocket >= 0 else {
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:69:9: error: cannot find 'setsockopt' in scope
67 | // Allow reuse
68 | var yes: Int32 = 1
69 | setsockopt(serverSocket, SOL_SOCKET, SO_REUSEADDR, &yes, socklen_t(MemoryLayout<Int32>.size))
| `- error: cannot find 'setsockopt' in scope
70 |
71 | // Set non-blocking mode for OTLP tests
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:69:34: error: cannot find 'SOL_SOCKET' in scope
67 | // Allow reuse
68 | var yes: Int32 = 1
69 | setsockopt(serverSocket, SOL_SOCKET, SO_REUSEADDR, &yes, socklen_t(MemoryLayout<Int32>.size))
| `- error: cannot find 'SOL_SOCKET' in scope
70 |
71 | // Set non-blocking mode for OTLP tests
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:69:46: error: cannot find 'SO_REUSEADDR' in scope
67 | // Allow reuse
68 | var yes: Int32 = 1
69 | setsockopt(serverSocket, SOL_SOCKET, SO_REUSEADDR, &yes, socklen_t(MemoryLayout<Int32>.size))
| `- error: cannot find 'SO_REUSEADDR' in scope
70 |
71 | // Set non-blocking mode for OTLP tests
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:73:25: error: cannot find 'fcntl' in scope
71 | // Set non-blocking mode for OTLP tests
72 | if config == nil {
73 | let flags = fcntl(serverSocket, F_GETFL, 0)
| `- error: cannot find 'fcntl' in scope
74 | if flags >= 0 {
75 | _ = fcntl(serverSocket, F_SETFL, flags | O_NONBLOCK)
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:73:45: error: cannot find 'F_GETFL' in scope
71 | // Set non-blocking mode for OTLP tests
72 | if config == nil {
73 | let flags = fcntl(serverSocket, F_GETFL, 0)
| `- error: cannot find 'F_GETFL' in scope
74 | if flags >= 0 {
75 | _ = fcntl(serverSocket, F_SETFL, flags | O_NONBLOCK)
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:75:21: error: cannot find 'fcntl' in scope
73 | let flags = fcntl(serverSocket, F_GETFL, 0)
74 | if flags >= 0 {
75 | _ = fcntl(serverSocket, F_SETFL, flags | O_NONBLOCK)
| `- error: cannot find 'fcntl' in scope
76 | }
77 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:75:41: error: cannot find 'F_SETFL' in scope
73 | let flags = fcntl(serverSocket, F_GETFL, 0)
74 | if flags >= 0 {
75 | _ = fcntl(serverSocket, F_SETFL, flags | O_NONBLOCK)
| `- error: cannot find 'F_SETFL' in scope
76 | }
77 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:75:58: error: cannot find 'O_NONBLOCK' in scope
73 | let flags = fcntl(serverSocket, F_GETFL, 0)
74 | if flags >= 0 {
75 | _ = fcntl(serverSocket, F_SETFL, flags | O_NONBLOCK)
| `- error: cannot find 'O_NONBLOCK' in scope
76 | }
77 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:80:20: error: cannot find 'sockaddr_in' in scope
78 |
79 | // Bind to port
80 | var addr = sockaddr_in()
| `- error: cannot find 'sockaddr_in' in scope
81 | addr.sin_family = sa_family_t(AF_INET)
82 | addr.sin_port = in_port_t(port).bigEndian
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:81:27: error: cannot find 'sa_family_t' in scope
79 | // Bind to port
80 | var addr = sockaddr_in()
81 | addr.sin_family = sa_family_t(AF_INET)
| `- error: cannot find 'sa_family_t' in scope
82 | addr.sin_port = in_port_t(port).bigEndian
83 | addr.sin_addr.s_addr = INADDR_ANY
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:81:39: error: cannot find 'AF_INET' in scope
79 | // Bind to port
80 | var addr = sockaddr_in()
81 | addr.sin_family = sa_family_t(AF_INET)
| `- error: cannot find 'AF_INET' in scope
82 | addr.sin_port = in_port_t(port).bigEndian
83 | addr.sin_addr.s_addr = INADDR_ANY
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:82:25: error: cannot find 'in_port_t' in scope
80 | var addr = sockaddr_in()
81 | addr.sin_family = sa_family_t(AF_INET)
82 | addr.sin_port = in_port_t(port).bigEndian
| `- error: cannot find 'in_port_t' in scope
83 | addr.sin_addr.s_addr = INADDR_ANY
84 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:83:32: error: cannot find 'INADDR_ANY' in scope
81 | addr.sin_family = sa_family_t(AF_INET)
82 | addr.sin_port = in_port_t(port).bigEndian
83 | addr.sin_addr.s_addr = INADDR_ANY
| `- error: cannot find 'INADDR_ANY' in scope
84 |
85 | let bindResult = withUnsafePointer(to: &addr) { ptr in
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:86:13: error: cannot find 'bind' in scope
84 |
85 | let bindResult = withUnsafePointer(to: &addr) { ptr in
86 | bind(serverSocket, UnsafeRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find 'bind' in scope
87 | }
88 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:86:78: error: cannot find 'sockaddr' in scope
84 |
85 | let bindResult = withUnsafePointer(to: &addr) { ptr in
86 | bind(serverSocket, UnsafeRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find 'sockaddr' in scope
87 | }
88 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:86:117: error: cannot find type 'sockaddr_in' in scope
84 |
85 | let bindResult = withUnsafePointer(to: &addr) { ptr in
86 | bind(serverSocket, UnsafeRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: cannot find type 'sockaddr_in' in scope
87 | }
88 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:86:54: error: generic parameter 'T' could not be inferred
84 |
85 | let bindResult = withUnsafePointer(to: &addr) { ptr in
86 | bind(serverSocket, UnsafeRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), socklen_t(MemoryLayout<sockaddr_in>.size))
| `- error: generic parameter 'T' could not be inferred
87 | }
88 |
Swift.UnsafeRawPointer.assumingMemoryBound:2:13: note: in call to function 'assumingMemoryBound(to:)'
1 | struct UnsafeRawPointer {
2 | public func assumingMemoryBound<T>(to: T.Type) -> UnsafePointer<T> where T : ~Copyable}
| `- note: in call to function 'assumingMemoryBound(to:)'
3 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:90:13: error: cannot find 'close' in scope
88 |
89 | guard bindResult >= 0 else {
90 | close(serverSocket)
| `- error: cannot find 'close' in scope
91 | throw TestServerError.bindFailed
92 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:95:26: error: cannot find 'sockaddr_in' in scope
93 |
94 | // Get assigned port if using port 0
95 | var actualAddr = sockaddr_in()
| `- error: cannot find 'sockaddr_in' in scope
96 | var actualAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
97 | let getResult = withUnsafeMutablePointer(to: &actualAddr) { ptr in
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:96:52: error: cannot find type 'sockaddr_in' in scope
94 | // Get assigned port if using port 0
95 | var actualAddr = sockaddr_in()
96 | var actualAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
| `- error: cannot find type 'sockaddr_in' in scope
97 | let getResult = withUnsafeMutablePointer(to: &actualAddr) { ptr in
98 | getsockname(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &actualAddrLen)
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:98:13: error: cannot find 'getsockname' in scope
96 | var actualAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
97 | let getResult = withUnsafeMutablePointer(to: &actualAddr) { ptr in
98 | getsockname(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &actualAddrLen)
| `- error: cannot find 'getsockname' in scope
99 | }
100 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:98:92: error: cannot find 'sockaddr' in scope
96 | var actualAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
97 | let getResult = withUnsafeMutablePointer(to: &actualAddr) { ptr in
98 | getsockname(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &actualAddrLen)
| `- error: cannot find 'sockaddr' in scope
99 | }
100 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:98:68: error: generic parameter 'T' could not be inferred
96 | var actualAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
97 | let getResult = withUnsafeMutablePointer(to: &actualAddr) { ptr in
98 | getsockname(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &actualAddrLen)
| `- error: generic parameter 'T' could not be inferred
99 | }
100 |
Swift.UnsafeMutableRawPointer.assumingMemoryBound:2:13: note: in call to function 'assumingMemoryBound(to:)'
1 | struct UnsafeMutableRawPointer {
2 | public func assumingMemoryBound<T>(to: T.Type) -> UnsafeMutablePointer<T> where T : ~Copyable}
| `- note: in call to function 'assumingMemoryBound(to:)'
3 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:102:13: error: cannot find 'close' in scope
100 |
101 | guard getResult >= 0 else {
102 | close(serverSocket)
| `- error: cannot find 'close' in scope
103 | throw TestServerError.portRetrievalFailed
104 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:110:26: error: cannot find 'ntohs' in scope
108 | serverPort = Int(CFSwapInt16BigToHost(actualAddr.sin_port))
109 | #else
110 | serverPort = Int(ntohs(actualAddr.sin_port))
| `- error: cannot find 'ntohs' in scope
111 | #endif
112 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:114:15: error: cannot find 'listen' in scope
112 |
113 | // Listen
114 | guard listen(serverSocket, 10) >= 0 else {
| `- error: cannot find 'listen' in scope
115 | close(serverSocket)
116 | throw TestServerError.listenFailed
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:115:13: error: cannot find 'close' in scope
113 | // Listen
114 | guard listen(serverSocket, 10) >= 0 else {
115 | close(serverSocket)
| `- error: cannot find 'close' in scope
116 | throw TestServerError.listenFailed
117 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:145:13: error: cannot find 'close' in scope
143 | Musl.shutdown(serverSocket, Int32(SHUT_RDWR))
144 | #endif
145 | close(serverSocket)
| `- error: cannot find 'close' in scope
146 | serverSocket = -1
147 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:222:30: error: cannot find 'sockaddr_in' in scope
220 | private func acceptLoop() {
221 | while isRunning {
222 | var clientAddr = sockaddr_in()
| `- error: cannot find 'sockaddr_in' in scope
223 | var clientAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
224 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:223:56: error: cannot find type 'sockaddr_in' in scope
221 | while isRunning {
222 | var clientAddr = sockaddr_in()
223 | var clientAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
| `- error: cannot find type 'sockaddr_in' in scope
224 |
225 | let clientSocket = withUnsafeMutablePointer(to: &clientAddr) { ptr in
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:226:17: error: cannot find 'accept' in scope
224 |
225 | let clientSocket = withUnsafeMutablePointer(to: &clientAddr) { ptr in
226 | accept(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &clientAddrLen)
| `- error: cannot find 'accept' in scope
227 | }
228 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:226:91: error: cannot find 'sockaddr' in scope
224 |
225 | let clientSocket = withUnsafeMutablePointer(to: &clientAddr) { ptr in
226 | accept(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &clientAddrLen)
| `- error: cannot find 'sockaddr' in scope
227 | }
228 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:226:67: error: generic parameter 'T' could not be inferred
224 |
225 | let clientSocket = withUnsafeMutablePointer(to: &clientAddr) { ptr in
226 | accept(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &clientAddrLen)
| `- error: generic parameter 'T' could not be inferred
227 | }
228 |
Swift.UnsafeMutableRawPointer.assumingMemoryBound:2:13: note: in call to function 'assumingMemoryBound(to:)'
1 | struct UnsafeMutableRawPointer {
2 | public func assumingMemoryBound<T>(to: T.Type) -> UnsafeMutablePointer<T> where T : ~Copyable}
| `- note: in call to function 'assumingMemoryBound(to:)'
3 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:230:20: error: cannot find 'errno' in scope
228 |
229 | if clientSocket < 0 {
230 | if errno == EAGAIN || errno == EWOULDBLOCK {
| `- error: cannot find 'errno' in scope
231 | Thread.sleep(forTimeInterval: 0.01)
232 | continue
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:230:39: error: cannot find 'errno' in scope
228 |
229 | if clientSocket < 0 {
230 | if errno == EAGAIN || errno == EWOULDBLOCK {
| `- error: cannot find 'errno' in scope
231 | Thread.sleep(forTimeInterval: 0.01)
232 | continue
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:240:13: error: cannot find 'close' in scope
238 | // Handle client synchronously to ensure proper data handling
239 | handleClient(socket: clientSocket)
240 | close(clientSocket)
| `- error: cannot find 'close' in scope
241 | }
242 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:251:29: error: cannot find 'recv' in scope
249 | // Read headers first
250 | while true {
251 | let bytesRead = recv(clientSocket, &buffer, buffer.count, 0)
| `- error: cannot find 'recv' in scope
252 | guard bytesRead > 0 else {
253 | if bytesRead < 0 && errno == EAGAIN {
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:253:37: error: cannot find 'errno' in scope
251 | let bytesRead = recv(clientSocket, &buffer, buffer.count, 0)
252 | guard bytesRead > 0 else {
253 | if bytesRead < 0 && errno == EAGAIN {
| `- error: cannot find 'errno' in scope
254 | Thread.sleep(forTimeInterval: 0.01)
255 | continue
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:320:33: error: cannot find 'recv' in scope
318 |
319 | while totalRead < remainingBytes {
320 | let bytesRead = recv(clientSocket, &bodyBuffer[totalRead], remainingBytes - totalRead, 0)
| `- error: cannot find 'recv' in scope
321 | guard bytesRead > 0 else {
322 | if bytesRead < 0 && errno == EAGAIN {
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:322:41: error: cannot find 'errno' in scope
320 | let bytesRead = recv(clientSocket, &bodyBuffer[totalRead], remainingBytes - totalRead, 0)
321 | guard bytesRead > 0 else {
322 | if bytesRead < 0 && errno == EAGAIN {
| `- error: cannot find 'errno' in scope
323 | Thread.sleep(forTimeInterval: 0.01)
324 | continue
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:379:13: error: cannot find 'send' in scope
377 | let response = "HTTP/1.1 200 OK\r\nContent-Length: 0\r\nConnection: close\r\n\r\n"
378 | _ = response.withCString { ptr in
379 | send(socket, ptr, strlen(ptr), 0)
| `- error: cannot find 'send' in scope
380 | }
381 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:386:13: error: cannot find 'send' in scope
384 | let response = "HTTP/1.1 400 Bad Request\r\nContent-Length: 0\r\nConnection: close\r\n\r\n"
385 | _ = response.withCString { ptr in
386 | send(socket, ptr, strlen(ptr), 0)
| `- error: cannot find 'send' in scope
387 | }
388 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:393:13: error: cannot find 'send' in scope
391 | let response = "HTTP/1.1 403 Forbidden\r\nContent-Length: 0\r\nConnection: close\r\n\r\n"
392 | _ = response.withCString { ptr in
393 | send(socket, ptr, strlen(ptr), 0)
| `- error: cannot find 'send' in scope
394 | }
395 | }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:400:13: error: cannot find 'send' in scope
398 | let response = "HTTP/1.1 404 Not Found\r\nContent-Length: 0\r\nConnection: close\r\n\r\n"
399 | _ = response.withCString { ptr in
400 | send(socket, ptr, strlen(ptr), 0)
| `- error: cannot find 'send' in scope
401 | }
402 | }
[49/717] Compiling CoreMetrics Locks.swift
[49/717] Compiling s3_pkt.cc
BUILD FAILURE 6.1 android