The Swift Package Index logo.Swift Package Index

Build Information

Failed to build aws-xray-sdk-swift, reference v0.7.1 (c505ac), with Swift 6.4 for Linux on 17 Sep 2026 05:48:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pokryfka/aws-xray-sdk-swift.git
Reference: v0.7.1
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/pokryfka/aws-xray-sdk-swift
 * tag               v0.7.1     -> FETCH_HEAD
HEAD is now at c505ac2 docs: bump version in README
Cloned https://github.com/pokryfka/aws-xray-sdk-swift.git
Revision (git rev-parse @):
c505ac2d75ce838311365a40a7725cdfdfdcd2ec
SUCCESS checkout https://github.com/pokryfka/aws-xray-sdk-swift.git at v0.7.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/pokryfka/aws-xray-sdk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/fabianfett/pure-swift-json.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/slashmo/gsoc-swift-baggage-context.git
Fetching https://github.com/apple/swift-nio.git
[1/8091] Fetching swift-log
[8092/8593] Fetching swift-log, gsoc-swift-baggage-context
[8218/9687] Fetching swift-log, gsoc-swift-baggage-context, pure-swift-json
Fetched https://github.com/slashmo/gsoc-swift-baggage-context.git (0.48s)
[8485/9185] Fetching swift-log, pure-swift-json
[9186/95135] Fetching swift-log, pure-swift-json, swift-nio
Fetched https://github.com/fabianfett/pure-swift-json.git (2.72s)
Fetched https://github.com/apple/swift-log.git (2.72s)
Fetched https://github.com/apple/swift-nio.git (2.75s)
Computing version for https://github.com/fabianfett/pure-swift-json.git
Computed https://github.com/fabianfett/pure-swift-json.git at 0.4.0 (2.94s)
Computing version for https://github.com/slashmo/gsoc-swift-baggage-context.git
Computed https://github.com/slashmo/gsoc-swift-baggage-context.git at 0.2.0 (0.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.20s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.102.0 (0.32s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1875] Fetching swift-atomics
[1876/8773] Fetching swift-atomics, swift-system
[5739/36047] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (0.63s)
[9353/34172] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.10s)
Fetched https://github.com/apple/swift-collections.git (1.10s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.28s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.102.0
Creating working copy for https://github.com/slashmo/gsoc-swift-baggage-context.git
Working copy of https://github.com/slashmo/gsoc-swift-baggage-context.git resolved at 0.2.0
Creating working copy for https://github.com/fabianfett/pure-swift-json.git
Working copy of https://github.com/fabianfett/pure-swift-json.git resolved at 0.4.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.8.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 982]
[Planning deferred tasks]
[178 / 339] _AtomicsShims
[185 / 373] PureSwiftJSON
[185 / 373] _NIODataStructures
[202 / 373] NIOConcurrencyHelpers
[204 / 373] NIOConcurrencyHelpers
[215 / 373] PureSwiftJSON
[216 / 373] InternalCollectionsUtilities
[222 / 373] PureSwiftJSON-product
[226 / 374] NIOConcurrencyHelpers
[229 / 374] NIOConcurrencyHelpers
[234 / 374] Logging
[234 / 375] Logging
[238 / 375] PureSwiftJSON
[244 / 376] Logging
[251 / 377] NIOConcurrencyHelpers
[254 / 377] ContainersPreview
[265 / 382] Atomics
[281 / 391] Atomics
[288 / 393] InternalCollectionsUtilities
[292 / 393] CNIOLLHTTP
[301 / 394] CNIOFreeBSD
[308 / 404] ContainersPreview
[314 / 404] CNIOLLHTTP
[323 / 414] ContainersPreview
[325 / 415] DequeModule
[327 / 415] DequeModule
[329 / 415] CNIOAtomics
[331 / 415] ContainersPreview
[334 / 415] Atomics
[339 / 415] Atomics
[342 / 416] DequeModule
[342 / 417] DequeModule
[360 / 427] NIOCore
[360 / 427] DequeModule
[360 / 427] NIOCore
[360 / 428] NIOCore
[378 / 443] NIOPosix
[378 / 443] NIOEmbedded
[379 / 443] NIOEmbedded
[381 / 443] NIOEmbedded
[387 / 443] NIOPosix
[389 / 444] NIOEmbedded
[391 / 444] NIOPosix
[399 / 447] NIO
[412 / 458] NIOHTTP1
[414 / 458] NIOHTTP1
[417 / 458] NIOHTTP1
[426 / 468] AWSXRayRecorder
[427 / 468] AWSXRayRecorder
[428 / 468] AWSXRayRecorder
[429 / 469] NIOPosix
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/AWSXRayRecorder/Config.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Config.swift
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Config.swift:42:93: error: ambiguous use of 'init'
40 |             self.contextMissingStrategy = contextMissingStrategy ??
41 |                 env("AWS_XRAY_CONTEXT_MISSING").flatMap(ContextMissingStrategy.init) ?? .logError
42 |             self.logLevel = logLevel ?? env("XRAY_RECORDER_LOG_LEVEL").flatMap(Logger.Level.init) ?? .info
   |                                                                                             `- error: ambiguous use of 'init'
43 |             self.serviceVersion = serviceVersion ?? "aws-xray-sdk-swift"
44 |         }
Logging.Logger.Level.init:3:19: note: found this candidate in module 'Logging'
1 | struct Logger {
2 |   enum Level {
3 | @inlinable public init?(rawValue: String)  }
  |                   `- note: found this candidate in module 'Logging'
4 | }
5 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logger.swift:1312:12: note: found this candidate in module 'Logging'
1310 |     /// Creates a log level from its textual representation.
1311 |     /// - Parameter description: A textual representation of the log level, case insensitive.
1312 |     public init?(_ description: String) {
     |            `- note: found this candidate in module 'Logging'
1313 |         self.init(rawValue: description.lowercased())
1314 |     }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/AWSXRayRecorder/AWS.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/AnyCodable/AnyCodable.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/AnyCodable/AnyDecodable.swift -primary-file /host/spi-builder-workspace/Sources/AWSXRayRecorder/AnyCodable/AnyEncodable.swift -primary-file /host/spi-builder-workspace/Sources/AWSXRayRecorder/Baggage.swift -primary-file /host/spi-builder-workspace/Sources/AWSXRayRecorder/Config.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Emitter+NIO.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Emitter.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Exception.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/HTTP.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/NoOpRecorder.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/NoOpSegment.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Random.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+Helpers.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Segment+NIOHTTP.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Segment.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/StringCompat.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Timestamp.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Trace.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Utils/Locks+Synchronized.swift /host/spi-builder-workspace/Sources/AWSXRayRecorder/Utils/Locks.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/supplementaryOutputs-42 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOLLHTTP.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOWASI.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOOpenBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOAtomics.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLLHTTP/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOFreeBSD/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOOpenBSD/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AWSXRayRecorder -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/AWSXRayRecorder_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/AnyEncodable.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/Baggage.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/Config.o -index-unit-output-path /aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/AnyEncodable.o -index-unit-output-path /aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/Baggage.o -index-unit-output-path /aws-xray-sdk-swift.build/Debug-linux-x86_64/AWSXRayRecorder-t.build/Objects-normal/x86_64/Config.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux