The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-otel-xray, reference 0.9.0 (905c25), with Swift 6.1 for Linux on 28 Apr 2025 23:04:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 0.9.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/slashmo/swift-otel-xray
 * tag               0.9.0      -> FETCH_HEAD
HEAD is now at 905c259 Add Swift 6 support (#28)
Cloned https://github.com/slashmo/swift-otel-xray.git
Revision (git rev-parse @):
905c259b873df9e2fe882badb5ff389a701dfb30
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/slashmo/swift-otel-xray.git at 0.9.0
========================================
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-4609320-2":/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
[1/75524] Fetching swift-nio
Fetching https://github.com/slashmo/swift-otel.git
Fetched https://github.com/apple/swift-nio.git from cache (7.04s)
[1/5187] Fetching swift-otel
Fetched https://github.com/slashmo/swift-otel.git from cache (0.87s)
Computing version for https://github.com/slashmo/swift-otel.git
Computed https://github.com/slashmo/swift-otel.git at 0.11.0 (8.66s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/slashmo/swift-w3c-trace-context.git
[1/2200] Fetching swift-metrics
[903/2755] Fetching swift-metrics, swift-w3c-trace-context
[2030/4460] Fetching swift-metrics, swift-w3c-trace-context, swift-atomics
[2477/15952] Fetching swift-metrics, swift-w3c-trace-context, swift-atomics, swift-nio-http2
[3745/66642] Fetching swift-metrics, swift-w3c-trace-context, swift-atomics, swift-nio-http2, grpc-swift
Fetched https://github.com/slashmo/swift-w3c-trace-context.git from cache (0.57s)
[3305/66087] Fetching swift-metrics, swift-atomics, swift-nio-http2, grpc-swift
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[9984/104591] Fetching swift-metrics, swift-atomics, swift-nio-http2, grpc-swift, swift-protobuf
[11262/106981] Fetching swift-metrics, swift-atomics, swift-nio-http2, grpc-swift, swift-protobuf, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.62s)
[18707/104591] Fetching swift-metrics, swift-atomics, swift-nio-http2, grpc-swift, swift-protobuf
Fetching https://github.com/apple/swift-async-algorithms.git
[33071/109556] Fetching swift-metrics, swift-atomics, swift-nio-http2, grpc-swift, swift-protobuf, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.82s)
[37433/104591] Fetching swift-metrics, swift-atomics, swift-nio-http2, grpc-swift, swift-protobuf
Fetching https://github.com/apple/swift-collections.git
[49434/120833] Fetching swift-metrics, swift-atomics, swift-nio-http2, grpc-swift, swift-protobuf, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.96s)
[64662/119128] Fetching swift-metrics, swift-nio-http2, grpc-swift, swift-protobuf, swift-collections
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.02s)
[55076/107636] Fetching swift-metrics, grpc-swift, swift-protobuf, swift-collections
Fetching https://github.com/apple/swift-distributed-tracing.git
[77769/112610] Fetching swift-metrics, grpc-swift, swift-protobuf, swift-collections, swift-distributed-tracing
[79180/116446] Fetching swift-metrics, grpc-swift, swift-protobuf, swift-collections, swift-distributed-tracing, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.93s)
[93976/112610] Fetching swift-metrics, grpc-swift, swift-protobuf, swift-collections, swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.07s)
[93463/107636] Fetching swift-metrics, grpc-swift, swift-protobuf, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.84s)
[88314/91394] Fetching swift-metrics, grpc-swift, swift-protobuf
Fetched https://github.com/apple/swift-metrics.git from cache (10.54s)
Fetched https://github.com/grpc/grpc-swift.git from cache (10.65s)
Fetched https://github.com/apple/swift-protobuf.git from cache (10.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 (11.73s)
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 (0.39s)
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.35s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.97s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.05s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (3.98s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.6.1 (0.81s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.93s)
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.99s)
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.90s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (1.30s)
Fetching https://github.com/apple/swift-system.git
[1/4359] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.48s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.24.2 (1.26s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2619] Fetching swift-nio-transport-services
[2/8281] Fetching swift-nio-transport-services, swift-nio-extras
[6357/23074] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.68s)
[4543/17412] Fetching swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.14s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.18s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.29.0 (4.10s)
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.94s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1127] Fetching swift-http-structured-headers
[385/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-structured-headers.git from cache (0.43s)
[3207/6807] Fetching swift-http-types, swift-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.68s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.69s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.63s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.59s)
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 (1.64s)
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.83s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.99s)
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.69s)
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.81s)
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.90s)
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-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-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-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
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-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/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/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-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-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-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-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-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/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-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-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-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/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/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-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/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/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
[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
[20/23] Write swift-version-24593BA9C3E375BF.txt
[23/73] Emitting module ConcurrencyHelpers
[23/73] Compiling c-atomics.c
[25/79] Compiling CoreMetrics Metrics.swift
[26/79] Compiling ConcurrencyHelpers LockedValueBox.swift
[27/79] Emitting module NIOConcurrencyHelpers
[28/79] Emitting module Atomics
[29/81] Compiling Atomics AtomicReference.swift
[30/81] Compiling Atomics AtomicStorage.swift
[31/81] Compiling Atomics AtomicValue.swift
[32/81] Compiling Atomics AtomicMemoryOrderings.swift
[33/81] Compiling Atomics DoubleWord.swift
[34/81] Compiling Atomics UnsafeAtomic.swift
[35/81] Compiling Atomics UnsafeAtomicLazyReference.swift
[36/81] Compiling ServiceContextModule ServiceContextKey.swift
[37/81] Compiling Atomics IntegerConformances.swift
[38/81] Compiling Atomics PointerConformances.swift
[39/81] Compiling Atomics AtomicInteger.swift
[40/81] Compiling Atomics AtomicOptionalWrappable.swift
[41/81] Compiling Atomics Primitives.native.swift
[43/81] Compiling Atomics Primitives.shims.swift
[46/81] Compiling Atomics ManagedAtomic.swift
[47/81] Compiling Atomics ManagedAtomicLazyReference.swift
[52/83] Emitting module ServiceContextModule
[53/83] Compiling ServiceContextModule ServiceContext.swift
[54/83] Compiling Atomics OptionalRawRepresentable.swift
[55/83] Compiling Atomics RawRepresentable.swift
[56/83] Compiling Atomics AtomicBool.swift
[57/83] Emitting module InternalCollectionsUtilities
[68/84] Compiling Atomics IntegerOperations.swift
[69/84] Compiling Atomics Unmanaged extensions.swift
[70/85] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[71/85] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[74/92] Compiling Instrumentation NoOpInstrument.swift
[75/92] Emitting module CoreMetrics
[76/92] Compiling CoreMetrics Locks.swift
[77/93] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[78/93] Compiling NIOConcurrencyHelpers lock.swift
[79/93] Emitting module Logging
[80/93] Compiling Logging Locks.swift
[81/93] Compiling Logging MetadataProvider.swift
[82/96] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[83/96] Compiling NIOConcurrencyHelpers NIOLock.swift
[84/96] Compiling NIOConcurrencyHelpers atomics.swift
[85/109] Compiling ConcurrencyHelpers Lock.swift
[87/110] Compiling Logging LogHandler.swift
[88/110] Compiling Logging Logging.swift
[89/111] Compiling Instrumentation MultiplexInstrument.swift
[92/166] Emitting module Instrumentation
[93/166] Compiling Instrumentation InstrumentationSystem.swift
[94/166] Compiling Instrumentation Instrument.swift
[95/166] Compiling Instrumentation Locks.swift
[97/170] Compiling OrderedCollections _HashTable.swift
[98/170] Compiling OrderedCollections _Hashtable+Header.swift
[100/180] Compiling Tracing InstrumentationSystem+Tracing.swift
[101/180] Compiling OrderedCollections OrderedDictionary+Codable.swift
[102/180] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[103/180] Compiling OrderedCollections _HashTable+Constants.swift
[104/180] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[105/180] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[106/180] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[107/180] Compiling OrderedCollections _HashTable+Testing.swift
[108/180] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[109/180] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[110/180] Compiling OrderedCollections OrderedDictionary+Elements.swift
[111/180] Compiling DequeModule _DequeSlot.swift
[112/180] Compiling DequeModule _UnsafeWrappedBuffer.swift
[113/180] Emitting module UnixSignals
[114/180] Compiling Tracing TracingTime.swift
[115/180] Compiling UnixSignals UnixSignal.swift
[116/180] Compiling Tracing NoOpTracer.swift
[117/180] Compiling UnixSignals UnixSignalsSequence.swift
[118/181] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[119/181] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[120/181] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[121/181] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[122/181] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[123/181] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[124/181] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[125/188] Emitting module Tracing
[126/188] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[127/188] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[128/188] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[129/188] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[130/188] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[131/188] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[132/188] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[134/188] Compiling Tracing TracerProtocol+Legacy.swift
[135/188] Compiling Tracing TracerProtocol.swift
[136/188] Compiling Tracing Tracer.swift
[137/188] Emitting module DequeModule
[138/188] Compiling OrderedCollections _HashTable+Bucket.swift
[139/188] Compiling OrderedCollections _HashTable+BucketIterator.swift
[140/189] Compiling OrderedCollections OrderedSet+Initializers.swift
[141/189] Compiling OrderedCollections OrderedSet+Insertions.swift
[142/189] Compiling OrderedCollections OrderedSet+Invariants.swift
[143/189] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[144/189] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[145/189] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[146/189] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[147/189] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[148/189] Compiling OrderedCollections OrderedDictionary.swift
[149/189] Compiling OrderedCollections OrderedSet+Codable.swift
[150/189] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[151/189] Compiling OrderedCollections OrderedSet+Descriptions.swift
[152/189] Compiling OrderedCollections OrderedSet+Diffing.swift
[153/189] Compiling OrderedCollections OrderedSet+Equatable.swift
[154/189] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[155/189] Compiling OrderedCollections OrderedSet+Hashable.swift
[156/189] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[157/189] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[158/189] Compiling Tracing SpanProtocol.swift
[159/189] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[160/189] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[161/189] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[162/189] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[163/189] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[164/189] Compiling OrderedCollections OrderedDictionary+Values.swift
[183/190] Emitting module OrderedCollections
[184/190] Compiling OrderedCollections OrderedSet+Sendable.swift
[185/190] Compiling OrderedCollections OrderedSet+SubSequence.swift
[186/190] Compiling OrderedCollections OrderedSet+Testing.swift
[187/190] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[188/190] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[189/190] Compiling OrderedCollections OrderedSet.swift
[190/190] Compiling OrderedCollections _UnsafeBitset.swift
[192/243] Compiling W3CTraceContext SpanID.swift
[193/243] Compiling W3CTraceContext Hex.swift
[194/243] Emitting module W3CTraceContext
[195/243] Compiling W3CTraceContext TraceContext.swift
[196/243] Emitting module AsyncAlgorithms
[197/249] Compiling W3CTraceContext TraceState.swift
[198/249] Compiling W3CTraceContext TraceID.swift
[199/249] Compiling W3CTraceContext TraceFlags.swift
[201/250] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[202/250] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[203/250] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[204/250] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[205/250] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[206/250] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[207/250] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[208/250] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[209/250] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[210/250] Compiling AsyncAlgorithms MergeStateMachine.swift
[211/250] Compiling AsyncAlgorithms MergeStorage.swift
[212/250] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[213/250] Compiling AsyncAlgorithms Rethrow.swift
[214/250] Compiling AsyncAlgorithms SetAlgebra.swift
[215/250] Compiling AsyncAlgorithms UnsafeTransfer.swift
[216/250] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[217/250] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[218/250] Compiling AsyncAlgorithms ZipStateMachine.swift
[219/250] Compiling AsyncAlgorithms ZipStorage.swift
[220/250] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[221/250] Compiling AsyncAlgorithms DebounceStateMachine.swift
[222/250] Compiling AsyncAlgorithms DebounceStorage.swift
[223/250] Compiling AsyncAlgorithms Dictionary.swift
[224/250] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[225/250] Compiling AsyncAlgorithms Locking.swift
[226/250] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[227/250] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[228/250] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[229/250] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[230/250] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[231/250] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[232/250] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[233/250] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[234/250] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[235/250] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[236/250] Compiling AsyncAlgorithms AsyncChannel.swift
[237/250] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[238/250] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[239/250] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[240/250] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[241/250] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[242/250] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[243/250] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[244/250] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.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 ServiceGroupConfiguration.swift
[253/260] Compiling ServiceLifecycle ServiceRunnerError.swift
[254/260] Emitting module ServiceLifecycle
[255/260] Compiling ServiceLifecycle CancellationWaiter.swift
[256/260] Compiling ServiceLifecycle GracefulShutdown.swift
[257/260] Compiling ServiceLifecycle AsyncGracefulShutdownSequence.swift
[258/260] Compiling ServiceLifecycle Service.swift
[259/260] Compiling ServiceLifecycle ServiceGroup.swift
[260/260] Compiling ServiceLifecycle AsyncCancelOnGracefulShutdownSequence.swift
[262/319] Emitting module OTel
[263/327] Compiling OTel MetadataProvider+OTel.swift
[264/327] Compiling OTel OTelLogHandler.swift
[265/327] Compiling OTel OTelLogRecord.swift
[266/327] Compiling OTel OTelLogRecordProcessor.swift
[267/327] Compiling OTel Attribute.swift
[268/327] Compiling OTel Counter.swift
[269/327] Compiling OTel FloatingPointCounter.swift
[270/327] Compiling OTel Gauge.swift
[271/327] Compiling OTel Histogram.swift
[272/327] Compiling OTel OTelMetricRegistry.swift
[273/327] Compiling OTel Counter+OTelInstrument.swift
[274/327] Compiling OTel FloatingPointCounter+OTelInstrument.swift
[275/327] Compiling OTel Gauge+OTelInstrument.swift
[276/327] Compiling OTel Histogram+OTelInstrument.swift
[277/327] Compiling OTel OTelMetricInstrument.swift
[278/327] Compiling OTel OTelConsoleMetricExporter.swift
[279/327] Compiling OTel OTelMultiplexPropagator.swift
[280/327] Compiling OTel OTelPropagator.swift
[281/327] Compiling OTel OTelW3CPropagator.swift
[282/327] Compiling OTel OTelConstantSampler.swift
[283/327] Compiling OTel OTelParentBasedSampler.swift
[284/327] Compiling OTel OTelSampler.swift
[285/327] Compiling OTel OTelSamplingResult.swift
[286/327] Compiling OTel OTelTraceIDRatioBasedSampler.swift
[287/327] Compiling OTel OTelMetricExporter.swift
[288/327] Compiling OTel OTelMultiplexMetricExporter.swift
[289/327] Compiling OTel OTLPMetricsDataModel.swift
[290/327] Compiling OTel OTelMetricProducer.swift
[291/327] Compiling OTel OTelMetricRegistry+Produce.swift
[292/327] Compiling OTel OTelPeriodicExportingMetricsReader.swift
[293/327] Compiling OTel OTelPeriodicExportingMetricsReaderConfiguration.swift
[294/327] Compiling OTel Counter+SwiftMetrics.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 OTelEnvironment.swift
[304/327] Compiling OTel OTelEnvironmentValueError.swift
[305/327] Compiling OTel OTelIDGenerator.swift
[306/327] Compiling OTel OTelRandomIDGenerator.swift
[307/327] Compiling OTel OTelSpanContext.swift
[308/327] Compiling OTel ServiceContext+OTelSpanContext.swift
[309/327] Compiling OTel HookedFatalError.swift
[310/327] Compiling OTel Timeout.swift
[311/327] Compiling OTel Logger+OTelDisabled.swift
[312/327] Compiling OTel OTelResource.swift
[313/327] Compiling OTel OTelResourceDetection.swift
[314/327] Compiling OTel OTelResourceDetector.swift
[315/327] Compiling OTel OTelMultiplexSpanExporter.swift
[316/327] Compiling OTel OTelNoOpSpanExporter.swift
[317/327] Compiling OTel OTelSpanExporter.swift
[318/327] Compiling OTel OTelFinishedSpan.swift
[319/327] Compiling OTel OTelSpan.swift
[320/327] Compiling OTel OTelTracer.swift
[321/327] Compiling OTel OTelTracing+Benchmarking.swift
[322/327] Compiling OTel OTelBatchSpanProcessor.swift
[323/327] Compiling OTel OTelBatchSpanProcessorConfiguration.swift
[324/327] Compiling OTel OTelMultiplexSpanProcessor.swift
[325/327] Compiling OTel OTelNoOpSpanProcessor.swift
[326/327] Compiling OTel OTelSimpleSpanProcessor.swift
[327/327] Compiling OTel OTelSpanProcessor.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 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)
[332/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 | }
[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-4609320-2":/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 ServiceContextModule ServiceContextKey.swift
[6/59] Compiling Logging MetadataProvider.swift
[7/59] Compiling ConcurrencyHelpers LockedValueBox.swift
[8/59] Compiling Atomics ManagedAtomic.swift
[9/59] Compiling Atomics ManagedAtomicLazyReference.swift
[10/61] Emitting module Logging
[11/61] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[12/61] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[15/63] Compiling Atomics RawRepresentable.swift
[16/63] Compiling Atomics AtomicBool.swift
[17/63] Compiling Atomics DoubleWord.swift
[18/63] Compiling Atomics OptionalRawRepresentable.swift
[19/63] Compiling CoreMetrics Locks.swift
[20/63] Compiling ServiceContextModule ServiceContext.swift
[21/64] Emitting module ConcurrencyHelpers
[22/64] Compiling ConcurrencyHelpers Lock.swift
[23/65] Compiling Atomics IntegerConformances.swift
[24/65] Compiling Atomics PointerConformances.swift
[25/65] Compiling Atomics Primitives.native.swift
[26/65] Compiling Atomics AtomicMemoryOrderings.swift
[32/65] Emitting module CoreMetrics
[33/65] Compiling Atomics IntegerOperations.swift
[34/65] Compiling Atomics Unmanaged extensions.swift
[35/65] Compiling Atomics Primitives.shims.swift
[36/65] Compiling Atomics AtomicInteger.swift
[37/65] Compiling Atomics AtomicOptionalWrappable.swift
[38/65] Compiling Atomics AtomicReference.swift
[39/65] Compiling Atomics AtomicStorage.swift
[40/65] Compiling Atomics AtomicValue.swift
[41/65] Compiling NIOConcurrencyHelpers atomics.swift
[42/65] Compiling NIOConcurrencyHelpers NIOLock.swift
[43/65] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[44/65] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[45/65] Compiling NIOConcurrencyHelpers lock.swift
[46/65] Emitting module NIOConcurrencyHelpers
[48/75] Emitting module Instrumentation
[49/75] Compiling Instrumentation MultiplexInstrument.swift
[50/75] Compiling Instrumentation Locks.swift
[51/75] Compiling Instrumentation Instrument.swift
[52/75] Compiling Instrumentation InstrumentationSystem.swift
[53/75] Compiling Instrumentation NoOpInstrument.swift
[54/76] Emitting module UnixSignals
[56/76] Compiling CoreMetrics Metrics.swift
[61/76] Emitting module InternalCollectionsUtilities
[64/78] Compiling UnixSignals UnixSignal.swift
[65/78] Compiling UnixSignals UnixSignalsSequence.swift
[67/79] Compiling Logging LogHandler.swift
[68/79] Compiling Logging Logging.swift
[69/79] Compiling Logging Locks.swift
[74/103] Compiling Tracing NoOpTracer.swift
[75/103] Compiling Tracing InstrumentationSystem+Tracing.swift
[76/103] Emitting module Tracing
[77/158] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[78/158] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[79/160] Compiling OrderedCollections _HashTable+Bucket.swift
[80/160] Compiling OrderedCollections _HashTable+BucketIterator.swift
[81/160] Compiling Tracing TracingTime.swift
[82/160] Compiling Tracing TracerProtocol.swift
[83/160] Compiling OrderedCollections _HashTable.swift
[84/160] Compiling OrderedCollections _Hashtable+Header.swift
[85/160] Compiling OrderedCollections _HashTable+Testing.swift
[86/160] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[87/160] Compiling DequeModule _DequeSlot.swift
[88/160] Compiling DequeModule _UnsafeWrappedBuffer.swift
[89/160] Compiling Tracing Tracer.swift
[90/160] Compiling Tracing TracerProtocol+Legacy.swift
[91/160] Compiling Tracing SpanProtocol.swift
[92/161] Compiling OrderedCollections OrderedDictionary+Codable.swift
[93/161] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[94/161] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[95/161] Compiling OrderedCollections OrderedDictionary+Elements.swift
[96/161] Compiling OrderedCollections _HashTable+Constants.swift
[97/161] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[99/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[100/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[101/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[102/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[103/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[104/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[105/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[106/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[107/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[108/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[109/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[110/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[111/161] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[112/161] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[113/161] Compiling OrderedCollections OrderedSet+Initializers.swift
[114/161] Compiling OrderedCollections OrderedSet+Insertions.swift
[115/161] Compiling OrderedCollections OrderedSet+Invariants.swift
[116/161] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[117/161] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[118/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[119/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[120/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[121/161] Compiling OrderedCollections OrderedDictionary.swift
[122/161] Compiling OrderedCollections OrderedSet+Codable.swift
[123/161] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[124/161] Compiling OrderedCollections OrderedSet+Descriptions.swift
[125/161] Compiling OrderedCollections OrderedSet+Diffing.swift
[126/161] Compiling OrderedCollections OrderedSet+Equatable.swift
[127/161] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[128/161] Compiling OrderedCollections OrderedSet+Hashable.swift
[132/168] Emitting module Atomics
[136/169] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[137/169] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[138/169] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[139/169] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[140/169] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[141/169] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[142/169] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[143/169] Compiling OrderedCollections OrderedDictionary+Values.swift
[153/169] Emitting module DequeModule
[163/170] Compiling OrderedCollections OrderedSet+Sendable.swift
[164/170] Compiling OrderedCollections OrderedSet+SubSequence.swift
[165/170] Compiling OrderedCollections OrderedSet+Testing.swift
[166/170] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[167/170] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[168/170] Compiling OrderedCollections OrderedSet.swift
[169/170] Compiling OrderedCollections _UnsafeBitset.swift
[170/170] Emitting module OrderedCollections
[172/223] Compiling W3CTraceContext Hex.swift
[173/223] Emitting module W3CTraceContext
[174/223] Compiling W3CTraceContext TraceFlags.swift
[175/223] Compiling W3CTraceContext TraceContext.swift
[176/223] Compiling W3CTraceContext SpanID.swift
[177/223] Compiling W3CTraceContext TraceState.swift
[178/223] Compiling W3CTraceContext TraceID.swift
[180/224] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[181/224] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[182/224] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[183/224] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[184/224] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[185/224] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[186/224] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[187/230] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[188/230] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[189/230] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[190/230] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[191/230] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[192/230] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[193/230] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.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] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[201/230] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[202/230] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[203/230] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[204/230] Compiling AsyncAlgorithms AsyncChannel.swift
[205/230] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[206/230] Emitting module AsyncAlgorithms
[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 AsyncSyncSequence.swift
[214/230] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[215/230] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[216/230] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[217/230] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[218/230] Compiling AsyncAlgorithms AsyncBufferSequence.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 AsyncGracefulShutdownSequence.swift
[233/239] Compiling ServiceLifecycle CancellationWaiter.swift
[234/240] Compiling ServiceLifecycle ServiceGroupConfiguration.swift
[235/240] Compiling ServiceLifecycle Service.swift
[236/240] Compiling ServiceLifecycle GracefulShutdown.swift
[237/240] Compiling ServiceLifecycle AsyncCancelOnGracefulShutdownSequence.swift
[238/240] Emitting module ServiceLifecycle
[239/240] Compiling ServiceLifecycle ServiceRunnerError.swift
[240/240] Compiling ServiceLifecycle ServiceGroup.swift
[242/299] Compiling OTel OTelEnvironment.swift
[243/299] Compiling OTel OTelEnvironmentValueError.swift
[244/299] Compiling OTel OTelIDGenerator.swift
[245/299] Compiling OTel OTelRandomIDGenerator.swift
[246/299] Compiling OTel OTelSpanContext.swift
[247/299] Compiling OTel ServiceContext+OTelSpanContext.swift
[248/299] Compiling OTel HookedFatalError.swift
[249/299] Compiling OTel Timeout.swift
[250/299] Compiling OTel Logger+OTelDisabled.swift
[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] Emitting module OTel
[260/307] Compiling OTel OTelTracer.swift
[261/307] Compiling OTel OTelTracing+Benchmarking.swift
[262/307] Compiling OTel OTelBatchSpanProcessor.swift
[263/307] Compiling OTel OTelBatchSpanProcessorConfiguration.swift
[264/307] Compiling OTel OTelMultiplexSpanProcessor.swift
[265/307] Compiling OTel OTelNoOpSpanProcessor.swift
[266/307] Compiling OTel OTelSimpleSpanProcessor.swift
[267/307] Compiling OTel OTelSpanProcessor.swift
[268/307] Compiling OTel OTelResource.swift
[269/307] Compiling OTel OTelResourceDetection.swift
[270/307] Compiling OTel OTelResourceDetector.swift
[271/307] Compiling OTel OTelMultiplexSpanExporter.swift
[272/307] Compiling OTel OTelNoOpSpanExporter.swift
[273/307] Compiling OTel OTelSpanExporter.swift
[274/307] Compiling OTel OTelFinishedSpan.swift
[275/307] Compiling OTel OTelSpan.swift
[276/307] Compiling OTel OTelMetricExporter.swift
[277/307] Compiling OTel OTelMultiplexMetricExporter.swift
[278/307] Compiling OTel OTLPMetricsDataModel.swift
[279/307] Compiling OTel OTelMetricProducer.swift
[280/307] Compiling OTel OTelMetricRegistry+Produce.swift
[281/307] Compiling OTel OTelPeriodicExportingMetricsReader.swift
[282/307] Compiling OTel OTelPeriodicExportingMetricsReaderConfiguration.swift
[283/307] Compiling OTel Counter+SwiftMetrics.swift
[284/307] Compiling OTel FloatingPointCounter+SwiftMetrics.swift
[285/307] Compiling OTel Gauge+SwiftMetrics.swift
[286/307] Compiling OTel Histogram+SwiftMetrics.swift
[287/307] Compiling OTel OTLPMetricsFactory.swift
[288/307] Compiling OTel OTelLibrary.swift
[289/307] Compiling OTel OTelEnvironmentResourceDetector.swift
[290/307] Compiling OTel OTelManualResourceDetector.swift
[291/307] Compiling OTel OTelProcessResourceDetector.swift
[292/307] Compiling OTel Histogram.swift
[293/307] Compiling OTel OTelMetricRegistry.swift
[294/307] Compiling OTel Counter+OTelInstrument.swift
[295/307] Compiling OTel FloatingPointCounter+OTelInstrument.swift
[296/307] Compiling OTel Gauge+OTelInstrument.swift
[297/307] Compiling OTel Histogram+OTelInstrument.swift
[298/307] Compiling OTel OTelMetricInstrument.swift
[299/307] Compiling OTel OTelConsoleMetricExporter.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 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...]
[312/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 | }
[313/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)
BUILD FAILURE 6.1 linux