Build Information
Failed to build swift-otel-xray, reference main (8c2587
), with Swift 6.1 for Linux on 28 Apr 2025 23:04:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/slashmo/swift-otel-xray.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/slashmo/swift-otel-xray
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8c25873 Bump actions/checkout from 4.1.7 to 4.2.0 (#30)
Cloned https://github.com/slashmo/swift-otel-xray.git
Revision (git rev-parse @):
8c25873deec285b91069f10e6e08acf6a821ed18
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/slashmo/swift-otel-xray.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/slashmo/swift-otel-xray.git
https://github.com/slashmo/swift-otel-xray.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-otel",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/slashmo/swift-otel.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "swift-otel-xray",
"name" : "swift-otel-xray",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "OpenTelemetryXRay",
"targets" : [
"OpenTelemetryXRay"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6",
"5"
],
"targets" : [
{
"c99name" : "OpenTelemetryXRayTests",
"module_type" : "SwiftTarget",
"name" : "OpenTelemetryXRayTests",
"path" : "Tests/OpenTelemetryXRayTests",
"product_dependencies" : [
"OTel"
],
"sources" : [
"Helpers/XCTAssertThrowsEquatableError.swift",
"IDGeneratorTests.swift",
"MetadataProviderTests.swift",
"PropagatorTests.swift"
],
"target_dependencies" : [
"OpenTelemetryXRay"
],
"type" : "test"
},
{
"c99name" : "OpenTelemetryXRay",
"module_type" : "SwiftTarget",
"name" : "OpenTelemetryXRay",
"path" : "Sources/OpenTelemetryXRay",
"product_dependencies" : [
"NIOConcurrencyHelpers",
"OTel"
],
"product_memberships" : [
"OpenTelemetryXRay"
],
"sources" : [
"Hex.swift",
"IDGenerator.swift",
"MetadataProvider+OTelXRay.swift",
"Propagator.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/slashmo/swift-otel.git
[1/5187] Fetching swift-otel
[1661/80711] Fetching swift-otel, swift-nio
Fetched https://github.com/slashmo/swift-otel.git from cache (1.15s)
[16616/75524] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.13s)
Computing version for https://github.com/slashmo/swift-otel.git
Computed https://github.com/slashmo/swift-otel.git at 0.11.0 (8.03s)
Fetching https://github.com/slashmo/swift-w3c-trace-context.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-metrics.git
[1/2200] Fetching swift-metrics
[1123/2755] Fetching swift-metrics, swift-w3c-trace-context
[2756/14247] Fetching swift-metrics, swift-w3c-trace-context, swift-nio-http2
[3676/64937] Fetching swift-metrics, swift-w3c-trace-context, swift-nio-http2, grpc-swift
[3792/66642] Fetching swift-metrics, swift-w3c-trace-context, swift-nio-http2, grpc-swift, swift-atomics
Fetched https://github.com/apple/swift-metrics.git from cache (0.39s)
[4414/64442] Fetching swift-w3c-trace-context, swift-nio-http2, grpc-swift, swift-atomics
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[14347/66832] Fetching swift-w3c-trace-context, swift-nio-http2, grpc-swift, swift-atomics, swift-service-lifecycle
[21983/105336] Fetching swift-w3c-trace-context, swift-nio-http2, grpc-swift, swift-atomics, swift-service-lifecycle, swift-protobuf
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.37s)
[22283/102946] Fetching swift-w3c-trace-context, swift-nio-http2, grpc-swift, swift-atomics, swift-protobuf
Fetching https://github.com/apple/swift-async-algorithms.git
[32933/107911] Fetching swift-w3c-trace-context, swift-nio-http2, grpc-swift, swift-atomics, swift-protobuf, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.58s)
[45400/102946] Fetching swift-w3c-trace-context, swift-nio-http2, grpc-swift, swift-atomics, swift-protobuf
Fetching https://github.com/apple/swift-collections.git
[78244/119188] Fetching swift-w3c-trace-context, swift-nio-http2, grpc-swift, swift-atomics, swift-protobuf, swift-collections
Fetched https://github.com/grpc/grpc-swift.git from cache (2.81s)
Fetching https://github.com/apple/swift-log.git
[66958/68498] Fetching swift-w3c-trace-context, swift-nio-http2, swift-atomics, swift-protobuf, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.58s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/3836] Fetching swift-log
[1574/8810] Fetching swift-log, swift-distributed-tracing
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.58s)
Fetched https://github.com/slashmo/swift-w3c-trace-context.git from cache (7.67s)
Fetched https://github.com/apple/swift-atomics.git from cache (7.67s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (7.68s)
Fetched https://github.com/apple/swift-protobuf.git from cache (7.74s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (8.58s)
Fetching https://github.com/apple/swift-service-context.git
[1/1063] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (1.08s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (1.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.60s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.41s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.6.1 (0.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.52s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.7.0 (0.52s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.57s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.88s)
Fetching https://github.com/apple/swift-system.git
[1/4359] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.36s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.88s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.24.2 (0.77s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/5662] Fetching swift-nio-extras
[3116/8281] Fetching swift-nio-extras, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.39s)
[1/14793] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.59s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.61s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.29.0 (2.13s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.60s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
[1/1127] Fetching swift-http-structured-headers
[1128/2031] Fetching swift-http-structured-headers, swift-http-types
[2032/7934] Fetching swift-http-structured-headers, swift-http-types, swift-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.28s)
[6735/7030] Fetching swift-http-structured-headers, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.36s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.36s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.90s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.44s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.2.2 (0.96s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.51s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.60s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.52s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.30.0 (0.62s)
Computing version for https://github.com/slashmo/swift-w3c-trace-context.git
Computed https://github.com/slashmo/swift-w3c-trace-context.git at 1.0.0-beta.3 (0.49s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.29.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.30.0
Creating working copy for https://github.com/slashmo/swift-w3c-trace-context.git
Working copy of https://github.com/slashmo/swift-w3c-trace-context.git resolved at 1.0.0-beta.3
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.6.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/slashmo/swift-otel.git
Working copy of https://github.com/slashmo/swift-otel.git resolved at 0.11.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.2.2
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.26.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.24.2
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.7.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.4.0
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/23] Write sources
[19/23] Compiling _AtomicsShims.c
[20/23] Compiling c-nioatomics.c
[21/23] Compiling c-atomics.c
[21/23] Write swift-version-24593BA9C3E375BF.txt
[24/79] Compiling InternalCollectionsUtilities UInt+reversed.swift
[25/79] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[26/81] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[27/81] Compiling InternalCollectionsUtilities Specialize.swift
[28/81] Compiling InternalCollectionsUtilities _SortedCollection.swift
[29/81] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[30/81] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[31/81] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[37/83] Compiling InternalCollectionsUtilities Debugging.swift
[38/83] Compiling InternalCollectionsUtilities Descriptions.swift
[39/83] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[40/83] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[41/83] Emitting module NIOConcurrencyHelpers
[42/83] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[45/83] Compiling CoreMetrics Metrics.swift
[46/83] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[47/83] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[48/83] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[52/83] Compiling Logging LogHandler.swift
[53/83] Emitting module InternalCollectionsUtilities
[54/83] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[55/83] Compiling InternalCollectionsUtilities Integer rank.swift
[56/83] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[57/83] Compiling ServiceContextModule ServiceContext.swift
[58/83] Emitting module ServiceContextModule
[59/83] Compiling ServiceContextModule ServiceContextKey.swift
[60/84] Compiling ConcurrencyHelpers LockedValueBox.swift
[64/84] Emitting module Atomics
[72/85] Compiling Atomics IntegerOperations.swift
[73/85] Compiling Atomics Unmanaged extensions.swift
[75/162] Compiling Instrumentation MultiplexInstrument.swift
[76/162] Compiling Instrumentation NoOpInstrument.swift
[77/162] Compiling DequeModule _DequeBuffer.swift
[78/162] Compiling DequeModule _DequeBufferHeader.swift
[79/164] Emitting module CoreMetrics
[80/164] Compiling CoreMetrics Locks.swift
[81/165] Emitting module ConcurrencyHelpers
[82/165] Compiling ConcurrencyHelpers Lock.swift
[83/165] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[84/165] Compiling NIOConcurrencyHelpers atomics.swift
[85/166] Compiling NIOConcurrencyHelpers NIOLock.swift
[86/166] Compiling Logging MetadataProvider.swift
[87/166] Compiling Logging Logging.swift
[89/166] Emitting module Logging
[90/166] Compiling Logging Locks.swift
[92/166] Compiling Instrumentation InstrumentationSystem.swift
[93/166] Compiling Instrumentation Instrument.swift
[94/166] Emitting module Instrumentation
[95/166] Compiling Instrumentation Locks.swift
[96/168] Compiling NIOConcurrencyHelpers lock.swift
[100/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[101/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[102/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[103/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[104/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[105/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[106/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[107/179] Compiling DequeModule _DequeSlot.swift
[108/179] Compiling DequeModule _UnsafeWrappedBuffer.swift
[109/179] Compiling DequeModule Deque+Extras.swift
[110/179] Compiling DequeModule Deque+Hashable.swift
[111/179] Compiling DequeModule Deque+Testing.swift
[112/179] Compiling DequeModule Deque._Storage.swift
[113/179] Compiling DequeModule Deque+Equatable.swift
[114/179] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[115/179] Compiling DequeModule Deque._UnsafeHandle.swift
[116/179] Compiling DequeModule Deque.swift
[117/179] Compiling DequeModule Deque+CustomReflectable.swift
[118/179] Compiling DequeModule Deque+Descriptions.swift
[119/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[120/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[121/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[122/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[123/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[124/179] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[125/179] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[126/186] Emitting module UnixSignals
[127/187] Compiling UnixSignals UnixSignal.swift
[128/187] Compiling Tracing TracingTime.swift
[129/187] Compiling Tracing InstrumentationSystem+Tracing.swift
[130/187] Compiling OrderedCollections OrderedDictionary+Codable.swift
[131/187] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[138/187] Emitting module Tracing
[139/187] Emitting module DequeModule
[142/188] Compiling UnixSignals UnixSignalsSequence.swift
[145/189] Compiling Tracing TracerProtocol+Legacy.swift
[146/189] Compiling Tracing TracerProtocol.swift
[147/189] Compiling OrderedCollections OrderedDictionary.swift
[148/189] Compiling OrderedCollections OrderedSet+Codable.swift
[149/189] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[150/189] Compiling OrderedCollections OrderedSet+Descriptions.swift
[151/189] Compiling OrderedCollections OrderedSet+Diffing.swift
[152/189] Compiling OrderedCollections OrderedSet+Equatable.swift
[153/189] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[154/189] Compiling OrderedCollections OrderedSet+Hashable.swift
[163/189] Compiling OrderedCollections _HashTable+Bucket.swift
[164/189] Compiling OrderedCollections _HashTable+BucketIterator.swift
[165/189] Compiling OrderedCollections _HashTable+Constants.swift
[166/189] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[167/189] Compiling OrderedCollections _HashTable+Testing.swift
[168/189] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[169/189] Compiling OrderedCollections _HashTable.swift
[170/189] Compiling OrderedCollections _Hashtable+Header.swift
[171/189] Compiling Tracing Tracer.swift
[172/189] Compiling Tracing NoOpTracer.swift
[173/189] Compiling Tracing SpanProtocol.swift
[175/190] Compiling OrderedCollections OrderedSet+Sendable.swift
[176/190] Compiling OrderedCollections OrderedSet+SubSequence.swift
[177/190] Compiling OrderedCollections OrderedSet+Testing.swift
[178/190] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[179/190] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[180/190] Compiling OrderedCollections OrderedSet.swift
[181/190] Compiling OrderedCollections _UnsafeBitset.swift
[182/190] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[183/190] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[184/190] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[185/190] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[186/190] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[187/190] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[188/190] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[189/190] Compiling OrderedCollections OrderedDictionary+Values.swift
[190/190] Emitting module OrderedCollections
[192/243] Emitting module AsyncAlgorithms
[193/249] Compiling W3CTraceContext Hex.swift
[194/249] Emitting module W3CTraceContext
[195/249] Compiling W3CTraceContext TraceContext.swift
[196/249] Compiling W3CTraceContext TraceID.swift
[197/249] Compiling W3CTraceContext TraceFlags.swift
[198/249] Compiling W3CTraceContext TraceState.swift
[199/249] Compiling W3CTraceContext SpanID.swift
[201/250] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[202/250] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[203/250] Compiling AsyncAlgorithms MergeStateMachine.swift
[204/250] Compiling AsyncAlgorithms MergeStorage.swift
[205/250] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[206/250] Compiling AsyncAlgorithms Rethrow.swift
[207/250] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[208/250] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[209/250] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[210/250] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[211/250] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[212/250] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[213/250] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[214/250] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[215/250] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[216/250] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[217/250] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[218/250] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[219/250] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[220/250] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[221/250] Compiling AsyncAlgorithms SetAlgebra.swift
[222/250] Compiling AsyncAlgorithms UnsafeTransfer.swift
[223/250] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[224/250] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[225/250] Compiling AsyncAlgorithms ZipStateMachine.swift
[226/250] Compiling AsyncAlgorithms ZipStorage.swift
[227/250] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[228/250] Compiling AsyncAlgorithms DebounceStateMachine.swift
[229/250] Compiling AsyncAlgorithms DebounceStorage.swift
[230/250] Compiling AsyncAlgorithms Dictionary.swift
[231/250] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[232/250] Compiling AsyncAlgorithms Locking.swift
[233/250] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[234/250] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[235/250] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[236/250] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[237/250] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[238/250] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[239/250] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[240/250] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[241/250] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[242/250] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[243/250] Compiling AsyncAlgorithms AsyncChannel.swift
[244/250] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[245/250] Compiling AsyncAlgorithms ChannelStateMachine.swift
[246/250] Compiling AsyncAlgorithms ChannelStorage.swift
[247/250] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[248/250] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[249/250] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[250/250] Compiling AsyncAlgorithms CombineLatestStorage.swift
[252/259] Compiling ServiceLifecycle Service.swift
[253/260] Compiling ServiceLifecycle ServiceGroupConfiguration.swift
[254/260] Compiling ServiceLifecycle ServiceRunnerError.swift
[255/260] Compiling ServiceLifecycle AsyncCancelOnGracefulShutdownSequence.swift
[256/260] Compiling ServiceLifecycle AsyncGracefulShutdownSequence.swift
[257/260] Emitting module ServiceLifecycle
[258/260] Compiling ServiceLifecycle GracefulShutdown.swift
[259/260] Compiling ServiceLifecycle CancellationWaiter.swift
[260/260] Compiling ServiceLifecycle ServiceGroup.swift
[262/319] Emitting module OTel
[263/327] Compiling OTel OTelMultiplexPropagator.swift
[264/327] Compiling OTel OTelPropagator.swift
[265/327] Compiling OTel OTelW3CPropagator.swift
[266/327] Compiling OTel OTelConstantSampler.swift
[267/327] Compiling OTel OTelParentBasedSampler.swift
[268/327] Compiling OTel OTelSampler.swift
[269/327] Compiling OTel OTelSamplingResult.swift
[270/327] Compiling OTel OTelTraceIDRatioBasedSampler.swift
[271/327] Compiling OTel MetadataProvider+OTel.swift
[272/327] Compiling OTel OTelLogHandler.swift
[273/327] Compiling OTel OTelLogRecord.swift
[274/327] Compiling OTel OTelLogRecordProcessor.swift
[275/327] Compiling OTel Attribute.swift
[276/327] Compiling OTel Counter.swift
[277/327] Compiling OTel FloatingPointCounter.swift
[278/327] Compiling OTel Gauge.swift
[279/327] Compiling OTel OTelTracer.swift
[280/327] Compiling OTel OTelTracing+Benchmarking.swift
[281/327] Compiling OTel OTelBatchSpanProcessor.swift
[282/327] Compiling OTel OTelBatchSpanProcessorConfiguration.swift
[283/327] Compiling OTel OTelMultiplexSpanProcessor.swift
[284/327] Compiling OTel OTelNoOpSpanProcessor.swift
[285/327] Compiling OTel OTelSimpleSpanProcessor.swift
[286/327] Compiling OTel OTelSpanProcessor.swift
[287/327] Compiling OTel OTelResource.swift
[288/327] Compiling OTel OTelResourceDetection.swift
[289/327] Compiling OTel OTelResourceDetector.swift
[290/327] Compiling OTel OTelMultiplexSpanExporter.swift
[291/327] Compiling OTel OTelNoOpSpanExporter.swift
[292/327] Compiling OTel OTelSpanExporter.swift
[293/327] Compiling OTel OTelFinishedSpan.swift
[294/327] Compiling OTel OTelSpan.swift
[295/327] Compiling OTel FloatingPointCounter+SwiftMetrics.swift
[296/327] Compiling OTel Gauge+SwiftMetrics.swift
[297/327] Compiling OTel Histogram+SwiftMetrics.swift
[298/327] Compiling OTel OTLPMetricsFactory.swift
[299/327] Compiling OTel OTelLibrary.swift
[300/327] Compiling OTel OTelEnvironmentResourceDetector.swift
[301/327] Compiling OTel OTelManualResourceDetector.swift
[302/327] Compiling OTel OTelProcessResourceDetector.swift
[303/327] Compiling OTel OTelMetricExporter.swift
[304/327] Compiling OTel OTelMultiplexMetricExporter.swift
[305/327] Compiling OTel OTLPMetricsDataModel.swift
[306/327] Compiling OTel OTelMetricProducer.swift
[307/327] Compiling OTel OTelMetricRegistry+Produce.swift
[308/327] Compiling OTel OTelPeriodicExportingMetricsReader.swift
[309/327] Compiling OTel OTelPeriodicExportingMetricsReaderConfiguration.swift
[310/327] Compiling OTel Counter+SwiftMetrics.swift
[311/327] Compiling OTel Histogram.swift
[312/327] Compiling OTel OTelMetricRegistry.swift
[313/327] Compiling OTel Counter+OTelInstrument.swift
[314/327] Compiling OTel FloatingPointCounter+OTelInstrument.swift
[315/327] Compiling OTel Gauge+OTelInstrument.swift
[316/327] Compiling OTel Histogram+OTelInstrument.swift
[317/327] Compiling OTel OTelMetricInstrument.swift
[318/327] Compiling OTel OTelConsoleMetricExporter.swift
[319/327] Compiling OTel OTelEnvironment.swift
[320/327] Compiling OTel OTelEnvironmentValueError.swift
[321/327] Compiling OTel OTelIDGenerator.swift
[322/327] Compiling OTel OTelRandomIDGenerator.swift
[323/327] Compiling OTel OTelSpanContext.swift
[324/327] Compiling OTel ServiceContext+OTelSpanContext.swift
[325/327] Compiling OTel HookedFatalError.swift
[326/327] Compiling OTel Timeout.swift
[327/327] Compiling OTel Logger+OTelDisabled.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[329/333] Compiling OpenTelemetryXRay Hex.swift
[330/333] Emitting module OpenTelemetryXRay
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/IDGenerator.swift:42:34: error: cannot find type 'OTelTraceID' in scope
40 | }
41 |
42 | public func nextTraceID() -> OTelTraceID {
| `- error: cannot find type 'OTelTraceID' in scope
43 | var traceIDBytes: OTelTraceID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
44 | withUnsafeMutableBytes(of: &traceIDBytes) { ptr in
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/IDGenerator.swift:60:33: error: cannot find type 'OTelSpanID' in scope
58 | }
59 |
60 | public func nextSpanID() -> OTelSpanID {
| `- error: cannot find type 'OTelSpanID' in scope
61 | var spanIDBytes: OTelSpanID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0)
62 | withUnsafeMutableBytes(of: &spanIDBytes) { ptr in
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:87:74: error: cannot find type 'OTelTraceID' in scope
85 | }
86 |
87 | private func extractTraceID(_ string: some StringProtocol) throws -> OTelTraceID {
| `- error: cannot find type 'OTelTraceID' in scope
88 | let result = try string.utf8.withContiguousStorageIfAvailable { traceIDBytes -> OTelTraceID in
89 | guard traceIDBytes.count == 35 else {
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:119:73: error: cannot find type 'OTelSpanID' in scope
117 | }
118 |
119 | private func extractSpanID(_ string: some StringProtocol) throws -> OTelSpanID {
| `- error: cannot find type 'OTelSpanID' in scope
120 | let result = try string.utf8.withContiguousStorageIfAvailable { spanIDBytes -> OTelSpanID in
121 | guard spanIDBytes.count == 16 else {
[331/333] Compiling OpenTelemetryXRay Propagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:87:74: error: cannot find type 'OTelTraceID' in scope
85 | }
86 |
87 | private func extractTraceID(_ string: some StringProtocol) throws -> OTelTraceID {
| `- error: cannot find type 'OTelTraceID' in scope
88 | let result = try string.utf8.withContiguousStorageIfAvailable { traceIDBytes -> OTelTraceID in
89 | guard traceIDBytes.count == 35 else {
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:119:73: error: cannot find type 'OTelSpanID' in scope
117 | }
118 |
119 | private func extractSpanID(_ string: some StringProtocol) throws -> OTelSpanID {
| `- error: cannot find type 'OTelSpanID' in scope
120 | let result = try string.utf8.withContiguousStorageIfAvailable { spanIDBytes -> OTelSpanID in
121 | guard spanIDBytes.count == 16 else {
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:31:48: error: value of type 'TraceID' has no member 'hexBytes'
29 | using injector: Inject
30 | ) where Inject: Injector, Carrier == Inject.Carrier {
31 | let traceIDBytes = spanContext.traceID.hexBytes
| `- error: value of type 'TraceID' has no member 'hexBytes'
32 | let timestampBytes = traceIDBytes[0 ..< 8]
33 | let randomBytes = traceIDBytes[8...]
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:52:31: error: cannot find type 'OTelTraceID' in scope
50 | }
51 |
52 | var extractedTraceID: OTelTraceID?
| `- error: cannot find type 'OTelTraceID' in scope
53 | var spanID: OTelSpanID?
54 | var extractedTraceFlags: OTelTraceFlags?
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:53:21: error: cannot find type 'OTelSpanID' in scope
51 |
52 | var extractedTraceID: OTelTraceID?
53 | var spanID: OTelSpanID?
| `- error: cannot find type 'OTelSpanID' in scope
54 | var extractedTraceFlags: OTelTraceFlags?
55 |
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:54:34: error: cannot find type 'OTelTraceFlags' in scope
52 | var extractedTraceID: OTelTraceID?
53 | var spanID: OTelSpanID?
54 | var extractedTraceFlags: OTelTraceFlags?
| `- error: cannot find type 'OTelTraceFlags' in scope
55 |
56 | let parts = tracingHeader.split(separator: ";")
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:69:63: error: type '[Any]' has no member 'sampled'
67 | let startIndex = part.index(part.startIndex, offsetBy: 8)
68 | let sampledString = part[startIndex...]
69 | extractedTraceFlags = sampledString == "1" ? .sampled : []
| `- error: type '[Any]' has no member 'sampled'
70 | }
71 | }
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:79:31: error: cannot find 'OTelSpanID' in scope
77 | return OTelSpanContext(
78 | traceID: traceID,
79 | spanID: spanID ?? OTelSpanID(bytes: (0, 0, 0, 0, 0, 0, 0, 0)),
| `- error: cannot find 'OTelSpanID' in scope
80 | parentSpanID: nil,
81 | traceFlags: extractedTraceFlags ?? [],
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:77:16: error: 'OTelSpanContext' initializer is inaccessible due to 'private' protection level
75 | }
76 |
77 | return OTelSpanContext(
| `- error: 'OTelSpanContext' initializer is inaccessible due to 'private' protection level
78 | traceID: traceID,
79 | spanID: spanID ?? OTelSpanID(bytes: (0, 0, 0, 0, 0, 0, 0, 0)),
OTel.OTelSpanContext.init:2:9: note: 'init(traceContext:parentSpanID:isRemote:)' declared here
1 | struct OTelSpanContext {
2 | private init(traceContext: W3CTraceContext.TraceContext, parentSpanID: W3CTraceContext.SpanID?, isRemote: Bool)}
| `- note: 'init(traceContext:parentSpanID:isRemote:)' declared here
3 |
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:77:31: error: extra arguments at positions #1, #2, #4, #5 in call
75 | }
76 |
77 | return OTelSpanContext(
| `- error: extra arguments at positions #1, #2, #4, #5 in call
78 | traceID: traceID,
79 | spanID: spanID ?? OTelSpanID(bytes: (0, 0, 0, 0, 0, 0, 0, 0)),
OTel.OTelSpanContext.init:2:9: note: 'init(traceContext:parentSpanID:isRemote:)' declared here
1 | struct OTelSpanContext {
2 | private init(traceContext: W3CTraceContext.TraceContext, parentSpanID: W3CTraceContext.SpanID?, isRemote: Bool)}
| `- note: 'init(traceContext:parentSpanID:isRemote:)' declared here
3 |
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:78:13: error: missing argument for parameter 'traceContext' in call
76 |
77 | return OTelSpanContext(
78 | traceID: traceID,
| `- error: missing argument for parameter 'traceContext' in call
79 | spanID: spanID ?? OTelSpanID(bytes: (0, 0, 0, 0, 0, 0, 0, 0)),
80 | parentSpanID: nil,
OTel.OTelSpanContext.init:2:9: note: 'init(traceContext:parentSpanID:isRemote:)' declared here
1 | struct OTelSpanContext {
2 | private init(traceContext: W3CTraceContext.TraceContext, parentSpanID: W3CTraceContext.SpanID?, isRemote: Bool)}
| `- note: 'init(traceContext:parentSpanID:isRemote:)' declared here
3 |
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:82:25: error: 'nil' requires a contextual type
80 | parentSpanID: nil,
81 | traceFlags: extractedTraceFlags ?? [],
82 | traceState: nil,
| `- error: 'nil' requires a contextual type
83 | isRemote: true
84 | )
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:114:20: error: cannot find 'OTelTraceID' in scope
112 | }
113 |
114 | return OTelTraceID(bytes: traceIDStorage)
| `- error: cannot find 'OTelTraceID' in scope
115 | }
116 | return try result ?? extractTraceID(String(string))
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:88:89: error: cannot find type 'OTelTraceID' in scope
86 |
87 | private func extractTraceID(_ string: some StringProtocol) throws -> OTelTraceID {
88 | let result = try string.utf8.withContiguousStorageIfAvailable { traceIDBytes -> OTelTraceID in
| `- error: cannot find type 'OTelTraceID' in scope
89 | guard traceIDBytes.count == 35 else {
90 | throw TraceHeaderParsingError(value: String(string), reason: .invalidTraceIDLength(string.count))
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:104:33: error: cannot find type 'OTelTraceID' in scope
102 | }
103 |
104 | var traceIDStorage: OTelTraceID.Bytes = (
| `- error: cannot find type 'OTelTraceID' in scope
105 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
106 | )
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:88:38: error: type of expression is ambiguous without a type annotation
86 |
87 | private func extractTraceID(_ string: some StringProtocol) throws -> OTelTraceID {
88 | let result = try string.utf8.withContiguousStorageIfAvailable { traceIDBytes -> OTelTraceID in
| `- error: type of expression is ambiguous without a type annotation
89 | guard traceIDBytes.count == 35 else {
90 | throw TraceHeaderParsingError(value: String(string), reason: .invalidTraceIDLength(string.count))
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:116:16: warning: no calls to throwing functions occur within 'try' expression
114 | return OTelTraceID(bytes: traceIDStorage)
115 | }
116 | return try result ?? extractTraceID(String(string))
| `- warning: no calls to throwing functions occur within 'try' expression
117 | }
118 |
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:129:20: error: cannot find 'OTelSpanID' in scope
127 | Hex.convert(spanIDBytes, toBytes: ptr)
128 | }
129 | return OTelSpanID(bytes: bytes)
| `- error: cannot find 'OTelSpanID' in scope
130 | }
131 | return try result ?? extractSpanID(String(string))
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:120:88: error: cannot find type 'OTelSpanID' in scope
118 |
119 | private func extractSpanID(_ string: some StringProtocol) throws -> OTelSpanID {
120 | let result = try string.utf8.withContiguousStorageIfAvailable { spanIDBytes -> OTelSpanID in
| `- error: cannot find type 'OTelSpanID' in scope
121 | guard spanIDBytes.count == 16 else {
122 | throw TraceHeaderParsingError(value: String(string), reason: .invalidSpanIDLength(spanIDBytes.count))
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:125:24: error: cannot find type 'OTelSpanID' in scope
123 | }
124 |
125 | var bytes: OTelSpanID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0)
| `- error: cannot find type 'OTelSpanID' in scope
126 | withUnsafeMutableBytes(of: &bytes) { ptr in
127 | Hex.convert(spanIDBytes, toBytes: ptr)
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:120:38: error: type of expression is ambiguous without a type annotation
118 |
119 | private func extractSpanID(_ string: some StringProtocol) throws -> OTelSpanID {
120 | let result = try string.utf8.withContiguousStorageIfAvailable { spanIDBytes -> OTelSpanID in
| `- error: type of expression is ambiguous without a type annotation
121 | guard spanIDBytes.count == 16 else {
122 | throw TraceHeaderParsingError(value: String(string), reason: .invalidSpanIDLength(spanIDBytes.count))
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:131:16: warning: no calls to throwing functions occur within 'try' expression
129 | return OTelSpanID(bytes: bytes)
130 | }
131 | return try result ?? extractSpanID(String(string))
| `- warning: no calls to throwing functions occur within 'try' expression
132 | }
133 | }
[332/333] Compiling OpenTelemetryXRay IDGenerator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/IDGenerator.swift:42:34: error: cannot find type 'OTelTraceID' in scope
40 | }
41 |
42 | public func nextTraceID() -> OTelTraceID {
| `- error: cannot find type 'OTelTraceID' in scope
43 | var traceIDBytes: OTelTraceID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
44 | withUnsafeMutableBytes(of: &traceIDBytes) { ptr in
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/IDGenerator.swift:60:33: error: cannot find type 'OTelSpanID' in scope
58 | }
59 |
60 | public func nextSpanID() -> OTelSpanID {
| `- error: cannot find type 'OTelSpanID' in scope
61 | var spanIDBytes: OTelSpanID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0)
62 | withUnsafeMutableBytes(of: &spanIDBytes) { ptr in
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/IDGenerator.swift:43:27: error: cannot find type 'OTelTraceID' in scope
41 |
42 | public func nextTraceID() -> OTelTraceID {
43 | var traceIDBytes: OTelTraceID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
| `- error: cannot find type 'OTelTraceID' in scope
44 | withUnsafeMutableBytes(of: &traceIDBytes) { ptr in
45 | ptr.storeBytes(of: self.getCurrentSecondsSinceEpoch().bigEndian, as: UInt32.self)
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/IDGenerator.swift:61:26: error: cannot find type 'OTelSpanID' in scope
59 |
60 | public func nextSpanID() -> OTelSpanID {
61 | var spanIDBytes: OTelSpanID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0)
| `- error: cannot find type 'OTelSpanID' in scope
62 | withUnsafeMutableBytes(of: &spanIDBytes) { ptr in
63 | ptr.storeBytes(of: randomNumberGenerator.withLockedValue { $0.next() }.bigEndian, as: UInt64.self)
[333/333] Compiling OpenTelemetryXRay MetadataProvider+OTelXRay.swift
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/MetadataProvider+OTelXRay.swift:29:52: error: value of type 'TraceID' has no member 'hexBytes'
27 | guard let spanContext = ServiceContext.current?.spanContext else { return [:] }
28 |
29 | let traceIDBytes = spanContext.traceID.hexBytes
| `- error: value of type 'TraceID' has no member 'hexBytes'
30 | let timestampBytes = traceIDBytes[0 ..< 8]
31 | let randomBytes = traceIDBytes[8...]
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/59] Emitting module ServiceContextModule
[5/59] Compiling ConcurrencyHelpers LockedValueBox.swift
[6/59] Compiling ServiceContextModule ServiceContextKey.swift
[7/59] Compiling Logging MetadataProvider.swift
[8/59] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[9/59] Compiling InternalCollectionsUtilities Specialize.swift
[10/59] Compiling ConcurrencyHelpers Lock.swift
[11/61] Compiling InternalCollectionsUtilities _SortedCollection.swift
[12/61] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[13/61] Compiling InternalCollectionsUtilities Debugging.swift
[14/61] Compiling InternalCollectionsUtilities Descriptions.swift
[15/61] Compiling ServiceContextModule ServiceContext.swift
[18/64] Emitting module ConcurrencyHelpers
[20/65] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[21/65] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[25/65] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[26/65] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/65] Compiling InternalCollectionsUtilities UInt+reversed.swift
[28/65] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[31/65] Compiling NIOConcurrencyHelpers lock.swift
[34/65] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[35/65] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[36/65] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[37/65] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[38/65] Compiling Atomics IntegerOperations.swift
[39/65] Compiling Atomics Unmanaged extensions.swift
[40/65] Emitting module InternalCollectionsUtilities
[41/72] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[42/72] Compiling NIOConcurrencyHelpers NIOLock.swift
[43/73] Compiling NIOConcurrencyHelpers atomics.swift
[44/74] Emitting module NIOConcurrencyHelpers
[46/75] Compiling Instrumentation MultiplexInstrument.swift
[47/75] Compiling Instrumentation NoOpInstrument.swift
[48/75] Emitting module Instrumentation
[49/75] Compiling Instrumentation Instrument.swift
[50/75] Emitting module UnixSignals
[51/75] Compiling Instrumentation InstrumentationSystem.swift
[52/75] Compiling Instrumentation Locks.swift
[53/75] Compiling UnixSignals UnixSignalsSequence.swift
[58/76] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[59/76] Compiling InternalCollectionsUtilities Integer rank.swift
[60/76] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[61/76] Compiling Logging LogHandler.swift
[62/76] Compiling Logging Locks.swift
[63/76] Emitting module Logging
[64/76] Compiling Logging Logging.swift
[65/76] Compiling UnixSignals UnixSignal.swift
[70/79] Emitting module CoreMetrics
[71/79] Compiling CoreMetrics Metrics.swift
[72/79] Compiling CoreMetrics Locks.swift
[74/158] Emitting module Atomics
[75/158] Emitting module Tracing
[76/158] Compiling Tracing InstrumentationSystem+Tracing.swift
[77/158] Compiling Tracing TracingTime.swift
[78/158] Compiling Tracing TracerProtocol.swift
[79/158] Compiling DequeModule Deque+CustomReflectable.swift
[80/158] Compiling DequeModule Deque+Descriptions.swift
[81/160] Compiling DequeModule _DequeBuffer.swift
[82/160] Compiling DequeModule _DequeBufferHeader.swift
[83/160] Compiling Tracing TracerProtocol+Legacy.swift
[84/160] Compiling Tracing Tracer.swift
[85/160] Compiling DequeModule Deque+Codable.swift
[86/160] Compiling DequeModule Deque+Collection.swift
[88/160] Compiling DequeModule Deque+Extras.swift
[91/160] Compiling DequeModule Deque+Hashable.swift
[94/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[95/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[96/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[97/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[98/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[99/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[100/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[101/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[102/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[103/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[104/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[105/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[106/161] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[107/161] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[108/168] Compiling Tracing NoOpTracer.swift
[109/168] Compiling Tracing SpanProtocol.swift
[110/169] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[111/169] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[112/169] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[113/169] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[114/169] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[115/169] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[116/169] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[117/169] Compiling OrderedCollections OrderedDictionary+Values.swift
[118/169] Compiling DequeModule _DequeSlot.swift
[119/169] Compiling DequeModule _UnsafeWrappedBuffer.swift
[120/169] Compiling DequeModule Deque+Testing.swift
[121/169] Compiling DequeModule Deque._Storage.swift
[122/169] Compiling DequeModule Deque+Equatable.swift
[123/169] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[124/169] Compiling DequeModule Deque._UnsafeHandle.swift
[125/169] Compiling DequeModule Deque.swift
[137/169] Compiling OrderedCollections OrderedDictionary.swift
[138/169] Compiling OrderedCollections OrderedSet+Codable.swift
[139/169] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[140/169] Compiling OrderedCollections OrderedSet+Descriptions.swift
[141/169] Compiling OrderedCollections OrderedSet+Diffing.swift
[142/169] Compiling OrderedCollections OrderedSet+Equatable.swift
[143/169] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[144/169] Compiling OrderedCollections OrderedSet+Hashable.swift
[145/169] Compiling OrderedCollections OrderedSet+Initializers.swift
[146/169] Compiling OrderedCollections OrderedSet+Insertions.swift
[147/169] Compiling OrderedCollections OrderedSet+Invariants.swift
[148/169] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[149/169] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[150/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[151/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[152/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[161/169] Emitting module DequeModule
[163/170] Emitting module OrderedCollections
[164/170] Compiling OrderedCollections OrderedSet+Sendable.swift
[165/170] Compiling OrderedCollections OrderedSet+SubSequence.swift
[166/170] Compiling OrderedCollections OrderedSet+Testing.swift
[167/170] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[168/170] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[169/170] Compiling OrderedCollections OrderedSet.swift
[170/170] Compiling OrderedCollections _UnsafeBitset.swift
[172/223] Compiling W3CTraceContext TraceContext.swift
[173/223] Compiling W3CTraceContext TraceFlags.swift
[174/223] Compiling W3CTraceContext SpanID.swift
[175/223] Compiling W3CTraceContext TraceID.swift
[176/223] Emitting module W3CTraceContext
[177/223] Compiling W3CTraceContext Hex.swift
[178/223] Compiling W3CTraceContext TraceState.swift
[180/224] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[181/224] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[182/224] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[183/224] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[184/224] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[185/224] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[186/224] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[187/230] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[188/230] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[189/230] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[190/230] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[191/230] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[192/230] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[193/230] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[194/230] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[195/230] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[196/230] Compiling AsyncAlgorithms MergeStateMachine.swift
[197/230] Compiling AsyncAlgorithms MergeStorage.swift
[198/230] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[199/230] Compiling AsyncAlgorithms Rethrow.swift
[200/230] Emitting module AsyncAlgorithms
[201/230] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[202/230] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[203/230] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[204/230] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[205/230] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[206/230] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[207/230] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[208/230] Compiling AsyncAlgorithms DebounceStateMachine.swift
[209/230] Compiling AsyncAlgorithms DebounceStorage.swift
[210/230] Compiling AsyncAlgorithms Dictionary.swift
[211/230] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[212/230] Compiling AsyncAlgorithms Locking.swift
[213/230] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[214/230] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[215/230] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[216/230] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[217/230] Compiling AsyncAlgorithms AsyncChannel.swift
[218/230] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[219/230] Compiling AsyncAlgorithms ChannelStateMachine.swift
[220/230] Compiling AsyncAlgorithms ChannelStorage.swift
[221/230] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[222/230] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[223/230] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[224/230] Compiling AsyncAlgorithms CombineLatestStorage.swift
[225/230] Compiling AsyncAlgorithms SetAlgebra.swift
[226/230] Compiling AsyncAlgorithms UnsafeTransfer.swift
[227/230] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[228/230] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[229/230] Compiling AsyncAlgorithms ZipStateMachine.swift
[230/230] Compiling AsyncAlgorithms ZipStorage.swift
[232/239] Compiling ServiceLifecycle AsyncCancelOnGracefulShutdownSequence.swift
[233/240] Compiling ServiceLifecycle AsyncGracefulShutdownSequence.swift
[234/240] Compiling ServiceLifecycle CancellationWaiter.swift
[235/240] Compiling ServiceLifecycle GracefulShutdown.swift
[236/240] Compiling ServiceLifecycle ServiceGroupConfiguration.swift
[237/240] Emitting module ServiceLifecycle
[238/240] Compiling ServiceLifecycle ServiceRunnerError.swift
[239/240] Compiling ServiceLifecycle Service.swift
[240/240] Compiling ServiceLifecycle ServiceGroup.swift
[242/299] Compiling OTel OTelResource.swift
[243/299] Compiling OTel OTelResourceDetection.swift
[244/299] Compiling OTel OTelResourceDetector.swift
[245/299] Compiling OTel OTelMultiplexSpanExporter.swift
[246/299] Compiling OTel OTelNoOpSpanExporter.swift
[247/299] Compiling OTel OTelSpanExporter.swift
[248/299] Compiling OTel OTelFinishedSpan.swift
[249/299] Compiling OTel OTelSpan.swift
[250/299] Emitting module OTel
[251/307] Compiling OTel MetadataProvider+OTel.swift
[252/307] Compiling OTel OTelLogHandler.swift
[253/307] Compiling OTel OTelLogRecord.swift
[254/307] Compiling OTel OTelLogRecordProcessor.swift
[255/307] Compiling OTel Attribute.swift
[256/307] Compiling OTel Counter.swift
[257/307] Compiling OTel FloatingPointCounter.swift
[258/307] Compiling OTel Gauge.swift
[259/307] Compiling OTel OTelEnvironment.swift
[260/307] Compiling OTel OTelEnvironmentValueError.swift
[261/307] Compiling OTel OTelIDGenerator.swift
[262/307] Compiling OTel OTelRandomIDGenerator.swift
[263/307] Compiling OTel OTelSpanContext.swift
[264/307] Compiling OTel ServiceContext+OTelSpanContext.swift
[265/307] Compiling OTel HookedFatalError.swift
[266/307] Compiling OTel Timeout.swift
[267/307] Compiling OTel Logger+OTelDisabled.swift
[268/307] Compiling OTel Histogram.swift
[269/307] Compiling OTel OTelMetricRegistry.swift
[270/307] Compiling OTel Counter+OTelInstrument.swift
[271/307] Compiling OTel FloatingPointCounter+OTelInstrument.swift
[272/307] Compiling OTel Gauge+OTelInstrument.swift
[273/307] Compiling OTel Histogram+OTelInstrument.swift
[274/307] Compiling OTel OTelMetricInstrument.swift
[275/307] Compiling OTel OTelConsoleMetricExporter.swift
[276/307] Compiling OTel FloatingPointCounter+SwiftMetrics.swift
[277/307] Compiling OTel Gauge+SwiftMetrics.swift
[278/307] Compiling OTel Histogram+SwiftMetrics.swift
[279/307] Compiling OTel OTLPMetricsFactory.swift
[280/307] Compiling OTel OTelLibrary.swift
[281/307] Compiling OTel OTelEnvironmentResourceDetector.swift
[282/307] Compiling OTel OTelManualResourceDetector.swift
[283/307] Compiling OTel OTelProcessResourceDetector.swift
[284/307] Compiling OTel OTelMetricExporter.swift
[285/307] Compiling OTel OTelMultiplexMetricExporter.swift
[286/307] Compiling OTel OTLPMetricsDataModel.swift
[287/307] Compiling OTel OTelMetricProducer.swift
[288/307] Compiling OTel OTelMetricRegistry+Produce.swift
[289/307] Compiling OTel OTelPeriodicExportingMetricsReader.swift
[290/307] Compiling OTel OTelPeriodicExportingMetricsReaderConfiguration.swift
[291/307] Compiling OTel Counter+SwiftMetrics.swift
[292/307] Compiling OTel OTelTracer.swift
[293/307] Compiling OTel OTelTracing+Benchmarking.swift
[294/307] Compiling OTel OTelBatchSpanProcessor.swift
[295/307] Compiling OTel OTelBatchSpanProcessorConfiguration.swift
[296/307] Compiling OTel OTelMultiplexSpanProcessor.swift
[297/307] Compiling OTel OTelNoOpSpanProcessor.swift
[298/307] Compiling OTel OTelSimpleSpanProcessor.swift
[299/307] Compiling OTel OTelSpanProcessor.swift
[300/307] Compiling OTel OTelMultiplexPropagator.swift
[301/307] Compiling OTel OTelPropagator.swift
[302/307] Compiling OTel OTelW3CPropagator.swift
[303/307] Compiling OTel OTelConstantSampler.swift
[304/307] Compiling OTel OTelParentBasedSampler.swift
[305/307] Compiling OTel OTelSampler.swift
[306/307] Compiling OTel OTelSamplingResult.swift
[307/307] Compiling OTel OTelTraceIDRatioBasedSampler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[309/313] Compiling OpenTelemetryXRay Hex.swift
[310/313] Emitting module OpenTelemetryXRay
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/IDGenerator.swift:42:34: error: cannot find type 'OTelTraceID' in scope
40 | }
41 |
42 | public func nextTraceID() -> OTelTraceID {
| `- error: cannot find type 'OTelTraceID' in scope
43 | var traceIDBytes: OTelTraceID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
44 | withUnsafeMutableBytes(of: &traceIDBytes) { ptr in
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/IDGenerator.swift:60:33: error: cannot find type 'OTelSpanID' in scope
58 | }
59 |
60 | public func nextSpanID() -> OTelSpanID {
| `- error: cannot find type 'OTelSpanID' in scope
61 | var spanIDBytes: OTelSpanID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0)
62 | withUnsafeMutableBytes(of: &spanIDBytes) { ptr in
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:87:74: error: cannot find type 'OTelTraceID' in scope
85 | }
86 |
87 | private func extractTraceID(_ string: some StringProtocol) throws -> OTelTraceID {
| `- error: cannot find type 'OTelTraceID' in scope
88 | let result = try string.utf8.withContiguousStorageIfAvailable { traceIDBytes -> OTelTraceID in
89 | guard traceIDBytes.count == 35 else {
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:119:73: error: cannot find type 'OTelSpanID' in scope
117 | }
118 |
119 | private func extractSpanID(_ string: some StringProtocol) throws -> OTelSpanID {
| `- error: cannot find type 'OTelSpanID' in scope
120 | let result = try string.utf8.withContiguousStorageIfAvailable { spanIDBytes -> OTelSpanID in
121 | guard spanIDBytes.count == 16 else {
[311/313] Compiling OpenTelemetryXRay Propagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:87:74: error: cannot find type 'OTelTraceID' in scope
85 | }
86 |
87 | private func extractTraceID(_ string: some StringProtocol) throws -> OTelTraceID {
| `- error: cannot find type 'OTelTraceID' in scope
88 | let result = try string.utf8.withContiguousStorageIfAvailable { traceIDBytes -> OTelTraceID in
89 | guard traceIDBytes.count == 35 else {
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:119:73: error: cannot find type 'OTelSpanID' in scope
117 | }
118 |
119 | private func extractSpanID(_ string: some StringProtocol) throws -> OTelSpanID {
| `- error: cannot find type 'OTelSpanID' in scope
120 | let result = try string.utf8.withContiguousStorageIfAvailable { spanIDBytes -> OTelSpanID in
121 | guard spanIDBytes.count == 16 else {
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:31:48: error: value of type 'TraceID' has no member 'hexBytes'
29 | using injector: Inject
30 | ) where Inject: Injector, Carrier == Inject.Carrier {
31 | let traceIDBytes = spanContext.traceID.hexBytes
| `- error: value of type 'TraceID' has no member 'hexBytes'
32 | let timestampBytes = traceIDBytes[0 ..< 8]
33 | let randomBytes = traceIDBytes[8...]
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:52:31: error: cannot find type 'OTelTraceID' in scope
50 | }
51 |
52 | var extractedTraceID: OTelTraceID?
| `- error: cannot find type 'OTelTraceID' in scope
53 | var spanID: OTelSpanID?
54 | var extractedTraceFlags: OTelTraceFlags?
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:53:21: error: cannot find type 'OTelSpanID' in scope
51 |
52 | var extractedTraceID: OTelTraceID?
53 | var spanID: OTelSpanID?
| `- error: cannot find type 'OTelSpanID' in scope
54 | var extractedTraceFlags: OTelTraceFlags?
55 |
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:54:34: error: cannot find type 'OTelTraceFlags' in scope
52 | var extractedTraceID: OTelTraceID?
53 | var spanID: OTelSpanID?
54 | var extractedTraceFlags: OTelTraceFlags?
| `- error: cannot find type 'OTelTraceFlags' in scope
55 |
56 | let parts = tracingHeader.split(separator: ";")
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:69:63: error: type '[Any]' has no member 'sampled'
67 | let startIndex = part.index(part.startIndex, offsetBy: 8)
68 | let sampledString = part[startIndex...]
69 | extractedTraceFlags = sampledString == "1" ? .sampled : []
| `- error: type '[Any]' has no member 'sampled'
70 | }
71 | }
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:79:31: error: cannot find 'OTelSpanID' in scope
77 | return OTelSpanContext(
78 | traceID: traceID,
79 | spanID: spanID ?? OTelSpanID(bytes: (0, 0, 0, 0, 0, 0, 0, 0)),
| `- error: cannot find 'OTelSpanID' in scope
80 | parentSpanID: nil,
81 | traceFlags: extractedTraceFlags ?? [],
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:77:16: error: 'OTelSpanContext' initializer is inaccessible due to 'private' protection level
75 | }
76 |
77 | return OTelSpanContext(
| `- error: 'OTelSpanContext' initializer is inaccessible due to 'private' protection level
78 | traceID: traceID,
79 | spanID: spanID ?? OTelSpanID(bytes: (0, 0, 0, 0, 0, 0, 0, 0)),
OTel.OTelSpanContext.init:2:9: note: 'init(traceContext:parentSpanID:isRemote:)' declared here
1 | struct OTelSpanContext {
2 | private init(traceContext: W3CTraceContext.TraceContext, parentSpanID: W3CTraceContext.SpanID?, isRemote: Bool)}
| `- note: 'init(traceContext:parentSpanID:isRemote:)' declared here
3 |
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:77:31: error: extra arguments at positions #1, #2, #4, #5 in call
75 | }
76 |
77 | return OTelSpanContext(
| `- error: extra arguments at positions #1, #2, #4, #5 in call
78 | traceID: traceID,
79 | spanID: spanID ?? OTelSpanID(bytes: (0, 0, 0, 0, 0, 0, 0, 0)),
OTel.OTelSpanContext.init:2:9: note: 'init(traceContext:parentSpanID:isRemote:)' declared here
1 | struct OTelSpanContext {
2 | private init(traceContext: W3CTraceContext.TraceContext, parentSpanID: W3CTraceContext.SpanID?, isRemote: Bool)}
| `- note: 'init(traceContext:parentSpanID:isRemote:)' declared here
3 |
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:78:13: error: missing argument for parameter 'traceContext' in call
76 |
77 | return OTelSpanContext(
78 | traceID: traceID,
| `- error: missing argument for parameter 'traceContext' in call
79 | spanID: spanID ?? OTelSpanID(bytes: (0, 0, 0, 0, 0, 0, 0, 0)),
80 | parentSpanID: nil,
OTel.OTelSpanContext.init:2:9: note: 'init(traceContext:parentSpanID:isRemote:)' declared here
1 | struct OTelSpanContext {
2 | private init(traceContext: W3CTraceContext.TraceContext, parentSpanID: W3CTraceContext.SpanID?, isRemote: Bool)}
| `- note: 'init(traceContext:parentSpanID:isRemote:)' declared here
3 |
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:82:25: error: 'nil' requires a contextual type
80 | parentSpanID: nil,
81 | traceFlags: extractedTraceFlags ?? [],
82 | traceState: nil,
| `- error: 'nil' requires a contextual type
83 | isRemote: true
84 | )
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:114:20: error: cannot find 'OTelTraceID' in scope
112 | }
113 |
114 | return OTelTraceID(bytes: traceIDStorage)
| `- error: cannot find 'OTelTraceID' in scope
115 | }
116 | return try result ?? extractTraceID(String(string))
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:88:89: error: cannot find type 'OTelTraceID' in scope
86 |
87 | private func extractTraceID(_ string: some StringProtocol) throws -> OTelTraceID {
88 | let result = try string.utf8.withContiguousStorageIfAvailable { traceIDBytes -> OTelTraceID in
| `- error: cannot find type 'OTelTraceID' in scope
89 | guard traceIDBytes.count == 35 else {
90 | throw TraceHeaderParsingError(value: String(string), reason: .invalidTraceIDLength(string.count))
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:104:33: error: cannot find type 'OTelTraceID' in scope
102 | }
103 |
104 | var traceIDStorage: OTelTraceID.Bytes = (
| `- error: cannot find type 'OTelTraceID' in scope
105 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
106 | )
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:88:38: error: type of expression is ambiguous without a type annotation
86 |
87 | private func extractTraceID(_ string: some StringProtocol) throws -> OTelTraceID {
88 | let result = try string.utf8.withContiguousStorageIfAvailable { traceIDBytes -> OTelTraceID in
| `- error: type of expression is ambiguous without a type annotation
89 | guard traceIDBytes.count == 35 else {
90 | throw TraceHeaderParsingError(value: String(string), reason: .invalidTraceIDLength(string.count))
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:116:16: warning: no calls to throwing functions occur within 'try' expression
114 | return OTelTraceID(bytes: traceIDStorage)
115 | }
116 | return try result ?? extractTraceID(String(string))
| `- warning: no calls to throwing functions occur within 'try' expression
117 | }
118 |
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:129:20: error: cannot find 'OTelSpanID' in scope
127 | Hex.convert(spanIDBytes, toBytes: ptr)
128 | }
129 | return OTelSpanID(bytes: bytes)
| `- error: cannot find 'OTelSpanID' in scope
130 | }
131 | return try result ?? extractSpanID(String(string))
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:120:88: error: cannot find type 'OTelSpanID' in scope
118 |
119 | private func extractSpanID(_ string: some StringProtocol) throws -> OTelSpanID {
120 | let result = try string.utf8.withContiguousStorageIfAvailable { spanIDBytes -> OTelSpanID in
| `- error: cannot find type 'OTelSpanID' in scope
121 | guard spanIDBytes.count == 16 else {
122 | throw TraceHeaderParsingError(value: String(string), reason: .invalidSpanIDLength(spanIDBytes.count))
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:125:24: error: cannot find type 'OTelSpanID' in scope
123 | }
124 |
125 | var bytes: OTelSpanID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0)
| `- error: cannot find type 'OTelSpanID' in scope
126 | withUnsafeMutableBytes(of: &bytes) { ptr in
127 | Hex.convert(spanIDBytes, toBytes: ptr)
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:120:38: error: type of expression is ambiguous without a type annotation
118 |
119 | private func extractSpanID(_ string: some StringProtocol) throws -> OTelSpanID {
120 | let result = try string.utf8.withContiguousStorageIfAvailable { spanIDBytes -> OTelSpanID in
| `- error: type of expression is ambiguous without a type annotation
121 | guard spanIDBytes.count == 16 else {
122 | throw TraceHeaderParsingError(value: String(string), reason: .invalidSpanIDLength(spanIDBytes.count))
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/Propagator.swift:131:16: warning: no calls to throwing functions occur within 'try' expression
129 | return OTelSpanID(bytes: bytes)
130 | }
131 | return try result ?? extractSpanID(String(string))
| `- warning: no calls to throwing functions occur within 'try' expression
132 | }
133 | }
[312/313] Compiling OpenTelemetryXRay IDGenerator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/IDGenerator.swift:42:34: error: cannot find type 'OTelTraceID' in scope
40 | }
41 |
42 | public func nextTraceID() -> OTelTraceID {
| `- error: cannot find type 'OTelTraceID' in scope
43 | var traceIDBytes: OTelTraceID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
44 | withUnsafeMutableBytes(of: &traceIDBytes) { ptr in
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/IDGenerator.swift:60:33: error: cannot find type 'OTelSpanID' in scope
58 | }
59 |
60 | public func nextSpanID() -> OTelSpanID {
| `- error: cannot find type 'OTelSpanID' in scope
61 | var spanIDBytes: OTelSpanID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0)
62 | withUnsafeMutableBytes(of: &spanIDBytes) { ptr in
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/IDGenerator.swift:43:27: error: cannot find type 'OTelTraceID' in scope
41 |
42 | public func nextTraceID() -> OTelTraceID {
43 | var traceIDBytes: OTelTraceID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
| `- error: cannot find type 'OTelTraceID' in scope
44 | withUnsafeMutableBytes(of: &traceIDBytes) { ptr in
45 | ptr.storeBytes(of: self.getCurrentSecondsSinceEpoch().bigEndian, as: UInt32.self)
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/IDGenerator.swift:61:26: error: cannot find type 'OTelSpanID' in scope
59 |
60 | public func nextSpanID() -> OTelSpanID {
61 | var spanIDBytes: OTelSpanID.Bytes = (0, 0, 0, 0, 0, 0, 0, 0)
| `- error: cannot find type 'OTelSpanID' in scope
62 | withUnsafeMutableBytes(of: &spanIDBytes) { ptr in
63 | ptr.storeBytes(of: randomNumberGenerator.withLockedValue { $0.next() }.bigEndian, as: UInt64.self)
[313/313] Compiling OpenTelemetryXRay MetadataProvider+OTelXRay.swift
/host/spi-builder-workspace/Sources/OpenTelemetryXRay/MetadataProvider+OTelXRay.swift:29:52: error: value of type 'TraceID' has no member 'hexBytes'
27 | guard let spanContext = ServiceContext.current?.spanContext else { return [:] }
28 |
29 | let traceIDBytes = spanContext.traceID.hexBytes
| `- error: value of type 'TraceID' has no member 'hexBytes'
30 | let timestampBytes = traceIDBytes[0 ..< 8]
31 | let randomBytes = traceIDBytes[8...]
BUILD FAILURE 6.1 linux