Build Information
Failed to build opentelemetry-swift, reference main (9cc02a), with Swift 6.1 for Android on 30 Jan 2026 08:59:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images: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/cirruslabs/opentelemetry-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/cirruslabs/opentelemetry-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9cc02a7 chore(deps): update prom/prometheus:latest docker digest to 1f0f50f (#1027)
Cloned https://github.com/cirruslabs/opentelemetry-swift.git
Revision (git rev-parse @):
9cc02a767c018ae3fb257c3caa944327fbee3c95
SUCCESS checkout https://github.com/cirruslabs/opentelemetry-swift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/cirruslabs/opentelemetry-swift.git
https://github.com/cirruslabs/opentelemetry-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "opentelemetry-swift-core",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/open-telemetry/opentelemetry-swift-core.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.92.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "grpc-swift",
"requirement" : {
"exact" : [
"1.27.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/grpc/grpc-swift.git"
},
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.33.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "2.7.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
}
],
"manifest_display_name" : "opentelemetry-swift",
"name" : "opentelemetry-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SwiftMetricsShim",
"targets" : [
"SwiftMetricsShim"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PrometheusExporter",
"targets" : [
"PrometheusExporter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenTelemetryProtocolExporter",
"targets" : [
"OpenTelemetryProtocolExporterGrpc"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenTelemetryProtocolExporterHTTP",
"targets" : [
"OpenTelemetryProtocolExporterHttp"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PersistenceExporter",
"targets" : [
"PersistenceExporter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "InMemoryExporter",
"targets" : [
"InMemoryExporter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OTelSwiftLog",
"targets" : [
"OTelSwiftLog"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BaggagePropagationProcessor",
"targets" : [
"BaggagePropagationProcessor"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Sessions",
"targets" : [
"Sessions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "loggingTracer",
"targets" : [
"LoggingTracer"
],
"type" : {
"executable" : null
}
},
{
"name" : "StableMetricSample",
"targets" : [
"StableMetricSample"
],
"type" : {
"executable" : null
}
},
{
"name" : "LogsSample",
"targets" : [
"LogsSample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftMetricsShimTests",
"module_type" : "SwiftTarget",
"name" : "SwiftMetricsShimTests",
"path" : "Tests/ImportersTests/SwiftMetricsShim",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"sources" : [
"SwiftMetricsShimTests.swift"
],
"target_dependencies" : [
"SwiftMetricsShim"
],
"type" : "test"
},
{
"c99name" : "SwiftMetricsShim",
"module_type" : "SwiftTarget",
"name" : "SwiftMetricsShim",
"path" : "Sources/Importers/SwiftMetricsShim",
"product_dependencies" : [
"OpenTelemetrySdk",
"CoreMetrics"
],
"product_memberships" : [
"SwiftMetricsShim"
],
"sources" : [
"Extensions.swift",
"Locks.swift",
"MetricHandlers.swift",
"SwiftMetricsShim.swift"
],
"type" : "library"
},
{
"c99name" : "StableMetricSample",
"module_type" : "SwiftTarget",
"name" : "StableMetricSample",
"path" : "Examples/Stable Metric Sample",
"product_dependencies" : [
"OpenTelemetrySdk",
"StdoutExporter"
],
"product_memberships" : [
"StableMetricSample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"OpenTelemetryProtocolExporterGrpc"
],
"type" : "executable"
},
{
"c99name" : "SharedTestUtils",
"module_type" : "SwiftTarget",
"name" : "SharedTestUtils",
"path" : "Tests/Shared/TestUtils",
"sources" : [
"HttpTestServer.swift",
"XCTestCase+Wait.swift"
],
"type" : "library"
},
{
"c99name" : "Sessions",
"module_type" : "SwiftTarget",
"name" : "Sessions",
"path" : "Sources/Instrumentation/Sessions",
"product_dependencies" : [
"OpenTelemetryApi",
"OpenTelemetrySdk"
],
"product_memberships" : [
"Sessions"
],
"sources" : [
"Session.swift",
"SessionConfig.swift",
"SessionConstants.swift",
"SessionEventInstrumentation.swift",
"SessionLogRecordProcessor.swift",
"SessionManager.swift",
"SessionManagerProvider.swift",
"SessionSpanProcessor.swift",
"SessionStore.swift"
],
"type" : "library"
},
{
"c99name" : "SessionTests",
"module_type" : "SwiftTarget",
"name" : "SessionTests",
"path" : "Tests/InstrumentationTests/SessionTests",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"sources" : [
"SessionConfigTests.swift",
"SessionConstantsTests.swift",
"SessionEventInstrumentationTests.swift",
"SessionLogRecordProcessorTests.swift",
"SessionManagerProviderTests.swift",
"SessionManagerTests.swift",
"SessionSpanProcessorTests.swift",
"SessionStoreTests.swift",
"SessionTests.swift"
],
"target_dependencies" : [
"Sessions"
],
"type" : "test"
},
{
"c99name" : "PrometheusExporterTests",
"module_type" : "SwiftTarget",
"name" : "PrometheusExporterTests",
"path" : "Tests/ExportersTests/Prometheus",
"sources" : [
"PrometheusExporterTests.swift"
],
"target_dependencies" : [
"PrometheusExporter"
],
"type" : "test"
},
{
"c99name" : "PrometheusExporter",
"module_type" : "SwiftTarget",
"name" : "PrometheusExporter",
"path" : "Sources/Exporters/Prometheus",
"product_dependencies" : [
"OpenTelemetrySdk",
"NIO",
"NIOHTTP1"
],
"product_memberships" : [
"PrometheusExporter"
],
"sources" : [
"PrometheusExporter.swift",
"PrometheusExporterExtensions.swift",
"PrometheusExporterHttpServer.swift",
"PrometheusMetric.swift"
],
"type" : "library"
},
{
"c99name" : "PersistenceExporterTests",
"module_type" : "SwiftTarget",
"name" : "PersistenceExporterTests",
"path" : "Tests/ExportersTests/PersistenceExporter",
"sources" : [
"Export/DataExportDelayTests.swift",
"Export/DataExportWorkerTests.swift",
"Helpers/CoreMocks.swift",
"Helpers/FoundationMocks.swift",
"Helpers/PersistenceExtensions.swift",
"Helpers/SwiftExtensions.swift",
"Helpers/TestsDirectory.swift",
"PersistenceExporterDecoratorTests.swift",
"PersistenceMetricExporterDecoratorTests.swift",
"PersistenceSpanExporterDecoratorTests.swift",
"Storage/DirectoryTests.swift",
"Storage/FileTests.swift",
"Storage/FilesOrchestratorTests.swift",
"Storage/OrchestratedFileReaderTests.swift",
"Storage/OrchestratedFileWriterTests.swift",
"Utils/PerformancePresetTests.swift"
],
"target_dependencies" : [
"PersistenceExporter"
],
"type" : "test"
},
{
"c99name" : "PersistenceExporter",
"module_type" : "SwiftTarget",
"name" : "PersistenceExporter",
"path" : "Sources/Exporters/Persistence",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"product_memberships" : [
"PersistenceExporter"
],
"sources" : [
"Export/DataExportDelay.swift",
"Export/DataExportStatus.swift",
"Export/DataExportWorker.swift",
"PersistenceExporterDecorator.swift",
"PersistenceLogExporterDecorator.swift",
"PersistenceMetricExporterDecorator.swift",
"PersistencePerformancePreset.swift",
"PersistenceSpanExporterDecorator.swift",
"Storage/Directory.swift",
"Storage/File.swift",
"Storage/FileReader.swift",
"Storage/FileWriter.swift",
"Storage/FilesOrchestrator.swift",
"Storage/StorageError.swift",
"Utils/DateProvider.swift"
],
"type" : "library"
},
{
"c99name" : "OpenTelemetryProtocolExporterTests",
"module_type" : "SwiftTarget",
"name" : "OpenTelemetryProtocolExporterTests",
"path" : "Tests/ExportersTests/OpenTelemetryProtocol",
"sources" : [
"CommonAdapterTests.swift",
"EnvVarHeadersTests.swift",
"LogRecordAdapterTests.swift",
"MetricsAdapterTest.swift",
"OtlpHTTPExporterBaseTests.swift",
"OtlpHTTPMetricsExporterTest.swift",
"OtlpHttpLogRecordExporterTests.swift",
"OtlpHttpTraceExporterTests.swift",
"OtlpLogRecordExporterTests.swift",
"OtlpTraceExporterTests.swift",
"OtlpTraceJsonExporterTests.swift",
"ResourceAdapterTests.swift",
"SpanAdapterTests.swift"
],
"target_dependencies" : [
"OpenTelemetryProtocolExporterGrpc",
"OpenTelemetryProtocolExporterHttp",
"SharedTestUtils"
],
"type" : "test"
},
{
"c99name" : "OpenTelemetryProtocolExporterHttp",
"module_type" : "SwiftTarget",
"name" : "OpenTelemetryProtocolExporterHttp",
"path" : "Sources/Exporters/OpenTelemetryProtocolHttp",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"product_memberships" : [
"OpenTelemetryProtocolExporterHTTP"
],
"sources" : [
"Compression.swift",
"HTTPClient.swift",
"Lock.swift",
"OtlpHttpExporterBase.swift",
"logs/OtlpHttpLogExporter.swift",
"metric/OtlpHttpMetricExporter.swift",
"trace/OtlpHttpTraceExporter.swift"
],
"target_dependencies" : [
"OpenTelemetryProtocolExporterCommon"
],
"type" : "library"
},
{
"c99name" : "OpenTelemetryProtocolExporterGrpc",
"module_type" : "SwiftTarget",
"name" : "OpenTelemetryProtocolExporterGrpc",
"path" : "Sources/Exporters/OpenTelemetryProtocolGrpc",
"product_dependencies" : [
"OpenTelemetrySdk",
"GRPC"
],
"product_memberships" : [
"OpenTelemetryProtocolExporter",
"StableMetricSample",
"LogsSample"
],
"sources" : [
"logs/OtlpLogExporter.swift",
"metric/OtlpMetricExporter.swift",
"proto/logs_service.grpc.swift",
"proto/metrics_service.grpc.swift",
"proto/profiles_service.grpc.swift",
"proto/trace_service.grpc.swift",
"trace/OtlpTraceExporter.swift",
"trace/OtlpTraceJsonExporter.swift"
],
"target_dependencies" : [
"OpenTelemetryProtocolExporterCommon"
],
"type" : "library"
},
{
"c99name" : "OpenTelemetryProtocolExporterCommon",
"module_type" : "SwiftTarget",
"name" : "OpenTelemetryProtocolExporterCommon",
"path" : "Sources/Exporters/OpenTelemetryProtocolCommon",
"product_dependencies" : [
"OpenTelemetrySdk",
"Logging",
"SwiftProtobuf"
],
"product_memberships" : [
"OpenTelemetryProtocolExporter",
"OpenTelemetryProtocolExporterHTTP",
"StableMetricSample",
"LogsSample"
],
"sources" : [
"common/CommonAdapter.swift",
"common/Constants.swift",
"common/EnvVarHeaders.swift",
"common/ExporterMetrics.swift",
"common/Headers.swift",
"common/OtlpConfiguration.swift",
"common/ResourceAdapter.swift",
"logs/LogRecordAdapter.swift",
"metric/MetricsAdapter.swift",
"proto/common.pb.swift",
"proto/logs.pb.swift",
"proto/logs_service.pb.swift",
"proto/metrics.pb.swift",
"proto/metrics_service.pb.swift",
"proto/profiles.pb.swift",
"proto/profiles_service.pb.swift",
"proto/resource.pb.swift",
"proto/trace.pb.swift",
"proto/trace_service.pb.swift",
"trace/OtlpSpan.swift",
"trace/SpanAdapter.swift",
"trace/utils/TraceProtoUtils.swift"
],
"type" : "library"
},
{
"c99name" : "OTelSwiftLogTests",
"module_type" : "SwiftTarget",
"name" : "OTelSwiftLogTests",
"path" : "Tests/BridgesTests/OTelSwiftLog",
"sources" : [
"LogHandlerTests.swift"
],
"target_dependencies" : [
"OTelSwiftLog"
],
"type" : "test"
},
{
"c99name" : "OTelSwiftLog",
"module_type" : "SwiftTarget",
"name" : "OTelSwiftLog",
"path" : "Sources/Bridges/OTelSwiftLog",
"product_dependencies" : [
"OpenTelemetryApi",
"Logging"
],
"product_memberships" : [
"OTelSwiftLog"
],
"sources" : [
"LogHandler.swift"
],
"type" : "library"
},
{
"c99name" : "LogsSample",
"module_type" : "SwiftTarget",
"name" : "LogsSample",
"path" : "Examples/Logs Sample",
"product_dependencies" : [
"OpenTelemetrySdk",
"GRPC"
],
"product_memberships" : [
"LogsSample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"OpenTelemetryProtocolExporterGrpc"
],
"type" : "executable"
},
{
"c99name" : "LoggingTracer",
"module_type" : "SwiftTarget",
"name" : "LoggingTracer",
"path" : "Examples/Logging Tracer",
"product_dependencies" : [
"OpenTelemetryApi"
],
"product_memberships" : [
"loggingTracer"
],
"sources" : [
"Logger.swift",
"LoggingBinaryFormat.swift",
"LoggingSpan.swift",
"LoggingTextFormat.swift",
"LoggingTracer.swift",
"LoggingTracerProvider.swift",
"main.swift"
],
"type" : "executable"
},
{
"c99name" : "InMemoryExporterTests",
"module_type" : "SwiftTarget",
"name" : "InMemoryExporterTests",
"path" : "Tests/ExportersTests/InMemory",
"sources" : [
"InMemoryExporterTests.swift"
],
"target_dependencies" : [
"InMemoryExporter"
],
"type" : "test"
},
{
"c99name" : "InMemoryExporter",
"module_type" : "SwiftTarget",
"name" : "InMemoryExporter",
"path" : "Sources/Exporters/InMemory",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"product_memberships" : [
"InMemoryExporter"
],
"sources" : [
"InMemoryExporter.swift"
],
"type" : "library"
},
{
"c99name" : "ContribTests",
"module_type" : "SwiftTarget",
"name" : "ContribTests",
"path" : "Tests/ContribTests",
"sources" : [
"Processors/BaggagePropagationProcessorTests.swift"
],
"target_dependencies" : [
"BaggagePropagationProcessor",
"InMemoryExporter"
],
"type" : "test"
},
{
"c99name" : "BaggagePropagationProcessor",
"module_type" : "SwiftTarget",
"name" : "BaggagePropagationProcessor",
"path" : "Sources/Contrib/Processors/BaggagePropagationProcessor",
"product_dependencies" : [
"OpenTelemetryApi",
"OpenTelemetrySdk"
],
"product_memberships" : [
"BaggagePropagationProcessor"
],
"sources" : [
"BaggagePropagationProcessor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images: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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
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/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/open-telemetry/opentelemetry-swift-core.git
[1/2559] Fetching swift-metrics
[2560/8443] Fetching swift-metrics, swift-log
[2972/22008] Fetching swift-metrics, swift-log, opentelemetry-swift-core
[4539/73397] Fetching swift-metrics, swift-log, opentelemetry-swift-core, grpc-swift
[29718/155201] Fetching swift-metrics, swift-log, opentelemetry-swift-core, grpc-swift, swift-nio
Fetched https://github.com/open-telemetry/opentelemetry-swift-core.git from cache (0.80s)
[23326/141636] Fetching swift-metrics, swift-log, grpc-swift, swift-nio
[96091/183786] Fetching swift-metrics, swift-log, grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-metrics.git from cache (9.70s)
Fetched https://github.com/apple/swift-log.git from cache (9.71s)
Fetched https://github.com/grpc/grpc-swift.git from cache (9.76s)
Fetched https://github.com/apple/swift-nio.git from cache (9.83s)
Fetched https://github.com/apple/swift-protobuf.git from cache (9.85s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (10.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.70s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (0.65s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.1 (2.81s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
[1/6437] Fetching swift-nio-extras
[323/9246] Fetching swift-nio-extras, swift-nio-transport-services
[3944/11066] Fetching swift-nio-extras, swift-nio-transport-services, swift-atomics
[7338/22790] Fetching swift-nio-extras, swift-nio-transport-services, swift-atomics, swift-nio-http2
[11441/38086] Fetching swift-nio-extras, swift-nio-transport-services, swift-atomics, swift-nio-http2, swift-nio-ssl
[12564/57145] Fetching swift-nio-extras, swift-nio-transport-services, swift-atomics, swift-nio-http2, swift-nio-ssl, swift-collections
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.75s)
Fetched https://github.com/apple/swift-atomics.git from cache (3.75s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.75s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.78s)
Fetched https://github.com/apple/swift-collections.git from cache (3.78s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.80s)
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 (4.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.82s)
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.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.94.0 (1.44s)
Fetching https://github.com/apple/swift-system.git
[1/5542] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.78s)
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.83s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.65s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.32.1 (5.18s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1692] Fetching swift-asn1
[1693/4260] Fetching swift-asn1, swift-service-lifecycle
[2335/10321] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms
[2448/17408] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-certificates
[4254/18612] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-certificates, swift-http-structured-headers
[11866/24664] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-certificates, swift-http-structured-headers, swift-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.99s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.02s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.04s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.05s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.05s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.05s)
[1/951] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (1.09s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.99s)
Fetching https://github.com/apple/swift-numerics.git
[1/6403] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.77s)
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.33s)
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.88s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.86s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.97s)
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.80s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.1 (1.19s)
Fetching https://github.com/apple/swift-crypto.git
[1/17505] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.24s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (2.79s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.55s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (1.90s)
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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-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-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-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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.32.1
Creating working copy for https://github.com/apple/swift-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.1
Creating working copy for https://github.com/open-telemetry/opentelemetry-swift-core.git
Working copy of https://github.com/open-telemetry/opentelemetry-swift-core.git resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.9.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.94.0
[1/1] Compiling plugin SwiftProtobufPlugin
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:264:42: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
262 | }
263 |
264 | let workDirectory = PathLike(context.pluginWorkDirectory)
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
265 |
266 | return try self.createBuildCommands(
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:287:18: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
285 |
286 | init(_ path: String) {
287 | self.value = Path(path)
| `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
288 | }
289 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:291:26: warning: 'path' is deprecated: renamed to 'url'
289 |
290 | init(_ element: FileList.Element) {
291 | self.value = element.path
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
292 | }
293 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:295:26: warning: 'path' is deprecated: renamed to 'url'
293 |
294 | init(_ element: PluginContext.Tool) {
295 | self.value = element.path
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
296 | }
297 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:303:23: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
301 |
302 | var lastComponent: String {
303 | return self.value.lastComponent
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
304 | }
305 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:308:29: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
306 | func removingLastComponent() -> Self {
307 | var copy = self
308 | copy.value = self.value.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
309 | return copy
310 | }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:314:29: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
312 | func appending(_ path: String) -> Self {
313 | var copy = self
314 | copy.value = self.value.appending(path)
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
315 | return copy
316 | }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:327:17: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
325 | outputFiles: [PathLike]
326 | ) -> PackagePlugin.Command {
327 | return Self.buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
328 | displayName: displayName,
329 | executable: executable.value,
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:339:35: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
337 | extension URL {
338 | init(_ pathLike: PathLike) {
339 | self = URL(fileURLWithPath: "\(pathLike.value)")
| `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
340 | }
341 | }
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[2/493] Write sources
[19/493] Compiling _AtomicsShims.c
[20/493] Copying PrivacyInfo.xcprivacy
[21/493] Write sources
[41/493] Compiling aesv8-armv8-apple.S
[41/493] Compiling x86_64-mont-linux.S
[43/493] Compiling CNIOWindows shim.c
[44/493] Compiling CNIOWASI CNIOWASI.c
[45/493] Compiling CNIOWindows WSAStartup.c
[45/493] Compiling CNIOPosix event_loop_id.c
[47/493] Compiling CNIOOpenBSD shim.c
[48/493] Compiling CNIOLinux liburing_shims.c
[49/493] Compiling CNIOLLHTTP c_nio_http.c
[50/493] Compiling CNIOLinux shim.c
[51/493] Compiling CNIODarwin shim.c
[52/493] Compiling CNIOLLHTTP c_nio_api.c
[53/493] Compiling fiat_p256_adx_sqr.S
[54/493] Compiling fiat_p256_adx_mul.S
[55/493] Compiling CNIOLLHTTP c_nio_llhttp.c
[56/493] Compiling fiat_curve25519_adx_square.S
[57/493] Compiling fiat_curve25519_adx_mul.S
[58/493] Compiling CNIOBoringSSLShims shims.c
[59/493] Compiling thread_win.cc
[60/493] Compiling p_ed25519.cc
[61/493] Write swift-version-24593BA9C3E375BF.txt
[62/493] Compiling p_ed25519_asn1.cc
[63/493] Compiling v3_pcons.cc
[64/499] Compiling tls_record.cc
[65/499] Compiling tls_method.cc
[66/574] Compiling tls13_server.cc
[67/584] Compiling tls13_enc.cc
[68/587] Compiling tls13_client.cc
[69/756] Compiling tls13_both.cc
[71/759] 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
[72/761] 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
[73/761] 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
[74/762] 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
[75/762] 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
[76/762] 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
[77/762] 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
[78/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
[79/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
[80/762] 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
[81/762] 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
[82/762] 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
[83/762] 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
[84/762] 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
[85/762] 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
[86/762] 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
[87/762] 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
[88/762] 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
[89/762] 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
[91/762] 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
[92/762] 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
[93/762] 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
[94/763] 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
[95/763] 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
[97/764] Wrapping AST for _NIOBase64 for debugging
[98/764] Wrapping AST for _NIODataStructures for debugging
[99/779] Wrapping AST for InternalCollectionsUtilities for debugging
[101/779] Compiling CoreMetrics Metrics.swift
[102/779] 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
[103/779] 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
[104/779] 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
[105/779] 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
[106/779] 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
[107/779] 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
[108/781] 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
[109/781] 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
[110/781] 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
[111/781] 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
[112/781] 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
[113/781] 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
[114/781] 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
[115/781] 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
[115/781] Compiling t1_enc.cc
[117/781] 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
[118/781] 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
[119/781] 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
[120/782] Wrapping AST for DequeModule for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[122/782] 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
[122/802] Compiling ssl_x509.cc
[124/802] 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
[125/802] 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
[126/802] 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
[126/802] Compiling ssl_versions.cc
[128/802] Compiling CoreMetrics Locks.swift
[129/802] 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
[130/802] 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
[131/802] Emitting module CoreMetrics
[131/804] Compiling ssl_transcript.cc
[135/804] Compiling SharedTestUtils XCTestCase+Wait.swift
/host/spi-builder-workspace/Tests/Shared/TestUtils/XCTestCase+Wait.swift:13:16: warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure; this is an error in the Swift 6 language mode
11 | let timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
12 | do {
13 | if try block() {
| |- warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
14 | expectation.fulfill()
15 | }
[136/804] Compiling OpenTelemetryApi LongGaugeBuilder.swift
[137/804] Compiling OpenTelemetryApi LongHistogram.swift
[138/804] Compiling OpenTelemetryApi LongHistogramBuilder.swift
[139/804] Compiling OpenTelemetryApi LongUpDownCounter.swift
[140/804] Compiling OpenTelemetryApi LongUpDownCounterBuilder.swift
[141/804] Compiling OpenTelemetryApi Meter.swift
[142/804] Compiling OpenTelemetryApi MeterBuilder.swift
[143/804] Compiling OpenTelemetryApi MeterProvider.swift
[144/804] Compiling OpenTelemetryApi ObservableDoubleCounter.swift
[145/804] Compiling OpenTelemetryApi ObservableDoubleGauge.swift
[146/804] Compiling OpenTelemetryApi ObservableDoubleMeasurement.swift
[147/804] Compiling OpenTelemetryApi ObservableDoubleUpDownCounter.swift
[148/804] Compiling OpenTelemetryApi ObservableLongCounter.swift
[149/804] Compiling OpenTelemetryApi ObservableLongGauge.swift
[150/804] Compiling OpenTelemetryApi ObservableLongMeasurement.swift
[151/804] Compiling OpenTelemetryApi ObservableLongUpDownCounter.swift
[152/804] Compiling OpenTelemetryApi OpenTelemetry.swift
[153/804] Compiling OpenTelemetryApi ContextPropagators.swift
[154/804] Compiling OpenTelemetryApi DefaultContextPropagators.swift
[155/804] Compiling OpenTelemetryApi DefaultTracer.swift
[156/804] Compiling OpenTelemetryApi DefaultTracerProvider.swift
[157/804] Compiling OpenTelemetryApi Android_attributes.swift
[158/804] Compiling OpenTelemetryApi App_attributes.swift
[159/804] Compiling OpenTelemetryApi Artifact_attributes.swift
[160/804] Compiling OpenTelemetryApi Aspnetcore_attributes.swift
[161/804] Compiling OpenTelemetryApi Aws_attributes.swift
[162/804] Compiling OpenTelemetryApi Azure_attributes.swift
[163/804] Compiling OpenTelemetryApi Browser_attributes.swift
[164/804] Compiling OpenTelemetryApi Cassandra_attributes.swift
[165/804] Compiling OpenTelemetryApi Cicd_attributes.swift
[166/804] Compiling OpenTelemetryApi Client_attributes.swift
[167/804] Compiling OpenTelemetryApi Cloud_attributes.swift
[168/804] Compiling OpenTelemetryApi Cloudevents_attributes.swift
[169/804] Compiling OpenTelemetryApi Cloudfoundry_attributes.swift
[170/804] Compiling OpenTelemetryApi Code_attributes.swift
[171/804] Compiling OpenTelemetryApi Container_attributes.swift
[172/804] Compiling OpenTelemetryApi Cpu_attributes.swift
[173/804] Compiling OpenTelemetryApi Cpython_attributes.swift
[174/804] Compiling OpenTelemetryApi Db_attributes.swift
[175/804] Compiling OpenTelemetryApi Deployment_attributes.swift
[176/804] Compiling OpenTelemetryApi Destination_attributes.swift
[177/804] Compiling OpenTelemetryApi Device_attributes.swift
[177/804] Compiling ssl_stat.cc
[179/804] 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 | }
[180/804] 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 |
[180/804] Compiling ssl_key_share.cc
[180/804] Wrapping AST for Logging for debugging
[180/804] Compiling ssl_lib.cc
[180/804] Compiling ssl_session.cc
[180/804] Compiling ssl_privkey.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images: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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
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/421] Compiling ssl_file.cc
[3/421] Compiling ssl_cert.cc
[4/421] Compiling ssl_session.cc
[5/421] Compiling ssl_credential.cc
[6/421] Compiling ssl_privkey.cc
[7/421] Compiling ssl_key_share.cc
[8/421] Write swift-version-24593BA9C3E375BF.txt
[9/421] Compiling ssl_cipher.cc
[10/425] Compiling ssl_lib.cc
[12/425] Compiling _NIODataStructures Heap.swift
[13/427] Emitting module _NIODataStructures
[14/427] Compiling _NIODataStructures PriorityQueue.swift
[15/427] Compiling _NIODataStructures _TinyArray.swift
[17/427] Emitting module _NIOBase64
[18/427] Compiling _NIOBase64 Base64.swift
[18/427] Compiling ssl_asn1.cc
[20/455] Compiling ssl_buffer.cc
[21/483] Compiling s3_lib.cc
[22/509] Compiling s3_pkt.cc
[23/515] Compiling s3_both.cc
[24/687] Compiling ssl_aead_ctx.cc
[26/687] Compiling SharedTestUtils XCTestCase+Wait.swift
[27/687] Compiling OpenTelemetryApi EntryKey.swift
[28/687] Compiling OpenTelemetryApi EntryMetadata.swift
[29/689] Compiling Logging MetadataProvider.swift
[30/689] Compiling OpenTelemetryApi DefaultBaggageBuilder.swift
[31/689] Compiling OpenTelemetryApi DefaultBaggageManager.swift
[32/689] Compiling OpenTelemetryApi DefaultBaggageManagerProvider.swift
[33/689] Compiling OpenTelemetryApi EmptyBaggage.swift
[34/689] Emitting module SharedTestUtils
[35/689] 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 | }
[35/689] Compiling handshake_server.cc
[35/689] Compiling handshake_client.cc
[36/689] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 android